Selaa lähdekoodia

简化代码,绑定微信openid

quyueting 5 vuotta sitten
vanhempi
commit
a8f79a7b93
100 muutettua tiedostoa jossa 2853 lisäystä ja 42041 poistoa
  1. 1 1
      cloud-socket/src/com/js/kbt/UserTempGenConfig.xml
  2. 0 860
      cloud-socket/src/com/js/kbt/controller/SystemController.java
  3. 83 0
      cloud-socket/src/com/js/kbt/controller/WeiXinUser.java
  4. 229 0
      cloud-socket/src/com/js/kbt/controller/WeiXinUserInfoController.java
  5. 0 77
      cloud-socket/src/com/js/kbt/mapper/ChargeRecordMapper.java
  6. 0 333
      cloud-socket/src/com/js/kbt/mapper/ChargeRecordMapper.xml
  7. 0 96
      cloud-socket/src/com/js/kbt/mapper/CommunityPropertyMapper.java
  8. 0 348
      cloud-socket/src/com/js/kbt/mapper/CommunityPropertyMapper.xml
  9. 0 77
      cloud-socket/src/com/js/kbt/mapper/CouponMapper.java
  10. 0 490
      cloud-socket/src/com/js/kbt/mapper/CouponMapper.xml
  11. 0 77
      cloud-socket/src/com/js/kbt/mapper/CouponTypeMapper.java
  12. 0 380
      cloud-socket/src/com/js/kbt/mapper/CouponTypeMapper.xml
  13. 0 77
      cloud-socket/src/com/js/kbt/mapper/FixMapper.java
  14. 0 286
      cloud-socket/src/com/js/kbt/mapper/FixMapper.xml
  15. 0 96
      cloud-socket/src/com/js/kbt/mapper/MessageMapper.java
  16. 0 404
      cloud-socket/src/com/js/kbt/mapper/MessageMapper.xml
  17. 0 77
      cloud-socket/src/com/js/kbt/mapper/ParkOrderMapper.java
  18. 0 523
      cloud-socket/src/com/js/kbt/mapper/ParkOrderMapper.xml
  19. 0 75
      cloud-socket/src/com/js/kbt/mapper/ParkingPointMapper.java
  20. 0 760
      cloud-socket/src/com/js/kbt/mapper/ParkingPointMapper.xml
  21. 0 77
      cloud-socket/src/com/js/kbt/mapper/ParkingpointAppylMapper.java
  22. 0 333
      cloud-socket/src/com/js/kbt/mapper/ParkingpointAppylMapper.xml
  23. 0 77
      cloud-socket/src/com/js/kbt/mapper/PlatformMapper.java
  24. 0 271
      cloud-socket/src/com/js/kbt/mapper/PlatformMapper.xml
  25. 0 77
      cloud-socket/src/com/js/kbt/mapper/ShareDateMapper.java
  26. 0 254
      cloud-socket/src/com/js/kbt/mapper/ShareDateMapper.xml
  27. 96 0
      cloud-socket/src/com/js/kbt/mapper/TbUserMapper.java
  28. 475 0
      cloud-socket/src/com/js/kbt/mapper/TbUserMapper.xml
  29. 0 77
      cloud-socket/src/com/js/kbt/mapper/UserMapper.java
  30. 0 443
      cloud-socket/src/com/js/kbt/mapper/UserMapper.xml
  31. 0 96
      cloud-socket/src/com/js/kbt/mapper/UserNumMapper.java
  32. 0 254
      cloud-socket/src/com/js/kbt/mapper/UserNumMapper.xml
  33. 0 77
      cloud-socket/src/com/js/kbt/mapper/VcodeMapper.java
  34. 0 271
      cloud-socket/src/com/js/kbt/mapper/VcodeMapper.xml
  35. 0 53
      cloud-socket/src/com/js/kbt/mapper/VcouponMapper.java
  36. 0 396
      cloud-socket/src/com/js/kbt/mapper/VcouponMapper.xml
  37. 0 53
      cloud-socket/src/com/js/kbt/mapper/VdayMoneyMapper.java
  38. 0 230
      cloud-socket/src/com/js/kbt/mapper/VdayMoneyMapper.xml
  39. 0 64
      cloud-socket/src/com/js/kbt/mapper/VorderCountMapper.java
  40. 0 431
      cloud-socket/src/com/js/kbt/mapper/VorderCountMapper.xml
  41. 0 64
      cloud-socket/src/com/js/kbt/mapper/VparkCountMapper.java
  42. 0 420
      cloud-socket/src/com/js/kbt/mapper/VparkCountMapper.xml
  43. 0 53
      cloud-socket/src/com/js/kbt/mapper/VparkOrderMapper.java
  44. 0 371
      cloud-socket/src/com/js/kbt/mapper/VparkOrderMapper.xml
  45. 0 64
      cloud-socket/src/com/js/kbt/mapper/VparkingPointMapper.java
  46. 0 595
      cloud-socket/src/com/js/kbt/mapper/VparkingPointMapper.xml
  47. 0 64
      cloud-socket/src/com/js/kbt/mapper/VpointUseMapper.java
  48. 0 208
      cloud-socket/src/com/js/kbt/mapper/VpointUseMapper.xml
  49. 0 64
      cloud-socket/src/com/js/kbt/mapper/VuserActMapper.java
  50. 0 195
      cloud-socket/src/com/js/kbt/mapper/VuserActMapper.xml
  51. 0 53
      cloud-socket/src/com/js/kbt/mapper/VuserMapper.java
  52. 0 195
      cloud-socket/src/com/js/kbt/mapper/VuserMapper.xml
  53. 0 77
      cloud-socket/src/com/js/kbt/mapper/WithdrawMapper.java
  54. 0 348
      cloud-socket/src/com/js/kbt/mapper/WithdrawMapper.xml
  55. 0 191
      cloud-socket/src/com/js/kbt/model/ChargeRecord.java
  56. 0 777
      cloud-socket/src/com/js/kbt/model/ChargeRecordExample.java
  57. 0 293
      cloud-socket/src/com/js/kbt/model/CommunityProperty.java
  58. 0 893
      cloud-socket/src/com/js/kbt/model/CommunityPropertyExample.java
  59. 0 421
      cloud-socket/src/com/js/kbt/model/Coupon.java
  60. 0 1452
      cloud-socket/src/com/js/kbt/model/CouponExample.java
  61. 0 258
      cloud-socket/src/com/js/kbt/model/CouponType.java
  62. 0 1006
      cloud-socket/src/com/js/kbt/model/CouponTypeExample.java
  63. 0 120
      cloud-socket/src/com/js/kbt/model/Fix.java
  64. 0 596
      cloud-socket/src/com/js/kbt/model/FixExample.java
  65. 0 190
      cloud-socket/src/com/js/kbt/model/Message.java
  66. 0 727
      cloud-socket/src/com/js/kbt/model/MessageExample.java
  67. 0 437
      cloud-socket/src/com/js/kbt/model/ParkOrder.java
  68. 0 1532
      cloud-socket/src/com/js/kbt/model/ParkOrderExample.java
  69. 0 814
      cloud-socket/src/com/js/kbt/model/ParkingPoint.java
  70. 0 2472
      cloud-socket/src/com/js/kbt/model/ParkingPointExample.java
  71. 0 201
      cloud-socket/src/com/js/kbt/model/ParkingpointAppyl.java
  72. 0 796
      cloud-socket/src/com/js/kbt/model/ParkingpointAppylExample.java
  73. 0 97
      cloud-socket/src/com/js/kbt/model/Platform.java
  74. 0 526
      cloud-socket/src/com/js/kbt/model/PlatformExample.java
  75. 0 74
      cloud-socket/src/com/js/kbt/model/ShareDate.java
  76. 0 458
      cloud-socket/src/com/js/kbt/model/ShareDateExample.java
  77. 566 0
      cloud-socket/src/com/js/kbt/model/TbUser.java
  78. 1403 0
      cloud-socket/src/com/js/kbt/model/TbUserExample.java
  79. 0 352
      cloud-socket/src/com/js/kbt/model/User.java
  80. 0 1257
      cloud-socket/src/com/js/kbt/model/UserExample.java
  81. 0 99
      cloud-socket/src/com/js/kbt/model/UserNum.java
  82. 0 492
      cloud-socket/src/com/js/kbt/model/UserNumExample.java
  83. 0 99
      cloud-socket/src/com/js/kbt/model/Vcode.java
  84. 0 527
      cloud-socket/src/com/js/kbt/model/VcodeExample.java
  85. 0 444
      cloud-socket/src/com/js/kbt/model/Vcoupon.java
  86. 0 1522
      cloud-socket/src/com/js/kbt/model/VcouponExample.java
  87. 0 122
      cloud-socket/src/com/js/kbt/model/VdayMoney.java
  88. 0 584
      cloud-socket/src/com/js/kbt/model/VdayMoneyExample.java
  89. 0 710
      cloud-socket/src/com/js/kbt/model/VorderCount.java
  90. 0 1694
      cloud-socket/src/com/js/kbt/model/VorderCountExample.java
  91. 0 678
      cloud-socket/src/com/js/kbt/model/VparkCount.java
  92. 0 1634
      cloud-socket/src/com/js/kbt/model/VparkCountExample.java
  93. 0 398
      cloud-socket/src/com/js/kbt/model/VparkOrder.java
  94. 0 1359
      cloud-socket/src/com/js/kbt/model/VparkOrderExample.java
  95. 0 1157
      cloud-socket/src/com/js/kbt/model/VparkingPoint.java
  96. 0 2583
      cloud-socket/src/com/js/kbt/model/VparkingPointExample.java
  97. 0 101
      cloud-socket/src/com/js/kbt/model/VpointUse.java
  98. 0 503
      cloud-socket/src/com/js/kbt/model/VpointUseExample.java
  99. 0 53
      cloud-socket/src/com/js/kbt/model/Vuser.java
  100. 0 0
      cloud-socket/src/com/js/kbt/model/VuserAct.java

+ 1 - 1
cloud-socket/src/com/js/kbt/UserTempGenConfig.xml

@@ -11,7 +11,7 @@
     <javaModelGenerator targetPackage="com.js.kbt.model" targetProject="cloud-socket" />
     <sqlMapGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" />
     <javaClientGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" type="XMLMAPPER" />
-    <table schema="cloud_model" tableName="mould_history" >
+    <table schema="cloud_model" tableName="tb_user" >
     	<generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/>
     </table>
 <!--     <table schema="cloud_model" tableName="tb_mould_equipment" > -->

+ 0 - 860
cloud-socket/src/com/js/kbt/controller/SystemController.java

@@ -1,860 +0,0 @@
-package com.js.kbt.controller;
-
-import java.io.File;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.propertyeditors.CustomDateEditor;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.ServletRequestDataBinder;
-import org.springframework.web.bind.annotation.InitBinder;
-import org.springframework.web.bind.annotation.ModelAttribute;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestParam;
-
-import com.alibaba.fastjson.JSONObject;
-import com.js.kbt.mapper.CommunityPropertyMapper;
-import com.js.kbt.mapper.CouponMapper;
-import com.js.kbt.mapper.CouponTypeMapper;
-import com.js.kbt.mapper.MessageMapper;
-import com.js.kbt.mapper.ParkingPointMapper;
-import com.js.kbt.mapper.SysUserMapper;
-import com.js.kbt.mapper.UserMapper;
-import com.js.kbt.mapper.VcouponMapper;
-import com.js.kbt.mapper.VparkingPointMapper;
-import com.js.kbt.mapper.WithdrawMapper;
-import com.js.kbt.model.CommunityProperty;
-import com.js.kbt.model.Coupon;
-import com.js.kbt.model.CouponType;
-import com.js.kbt.model.CouponTypeExample;
-import com.js.kbt.model.Message;
-import com.js.kbt.model.MessageExample;
-import com.js.kbt.model.ParkingPoint;
-import com.js.kbt.model.ParkingPointExample;
-import com.js.kbt.model.CommunityPropertyExample;
-import com.js.kbt.model.SysUser;
-import com.js.kbt.model.SysUserExample;
-import com.js.kbt.model.User;
-import com.js.kbt.model.UserExample;
-import com.js.kbt.model.Vcoupon;
-import com.js.kbt.model.VcouponExample;
-import com.js.kbt.model.VparkingPoint;
-import com.js.kbt.model.VparkingPointExample;
-import com.js.kbt.model.Withdraw;
-import com.js.kbt.model.WithdrawExample;
-import com.js.kbt.util.Constant;
-import com.js.kbt.util.GeoHash;
-import com.js.kbt.util.QRTool;
-import com.js.kbt.util.aliPush;
-
-/**
- * 后台业务管理器
- * 
- * @author Administrator
- */
-@Controller
-@RequestMapping(value = { "/system" })
-public class SystemController {
-	@Autowired
-	private HttpServletRequest request;
-	@Resource(name = "sysUserMapper")
-	private SysUserMapper sysUserMapper;
-	@Resource(name = "messageMapper")
-	private MessageMapper messageMapper;
-	@Resource(name = "parkingPointMapper")
-	private ParkingPointMapper parkingPointMapper;
-	@Resource(name = "couponMapper")
-	private CouponMapper couponMapper;
-	@Resource(name = "couponTypeMapper")
-	private CouponTypeMapper couponTypeMapper;
-	@Resource(name = "userMapper")
-	private UserMapper userMapper;
-	@Resource(name = "vcouponMapper")
-	private VcouponMapper vcouponMapper;
-	@Resource(name="withdrawMapper")
-	private WithdrawMapper withdrawMapper;
-	@Resource(name="communityPropertyMapper")
-	private CommunityPropertyMapper communityPropertyMapper;
-	@Resource(name="vparkingPointMapper")
-	private VparkingPointMapper vparkingPointMapper;
-    
-    
-	
-    
-	
-	
-	@InitBinder
-	protected void init(HttpServletRequest request,
-			ServletRequestDataBinder binder) {
-		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
-		dateFormat.setLenient(false);
-		binder.registerCustomEditor(Date.class, new CustomDateEditor(
-				dateFormat, false));
-	}
-
-	/**
-	 * 后台系统管理员
-	 * 
-	 * @param mobile
-	 *            手机号码
-	 * @param pwd
-	 *            登录密码
-	 * @param response
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "sysLogin")
-	public String sysLogin(@RequestParam String mobile,
-			@RequestParam String pwd, HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-
-		SysUserExample example = new SysUserExample();
-		example.createCriteria().andMobileEqualTo(mobile).andPwdEqualTo(pwd);
-		int cnt = sysUserMapper.countByExample(example);
-		if (cnt == 0) {
-			msg.setError("用户名密码不正确");
-		} else {
-			SysUser user = sysUserMapper.selectByExample(example).get(0);
-			request.getSession().setAttribute("userId", user.getId());
-			request.getSession().setAttribute("role", user.getRole());
-			request.getSession().setAttribute("mobile", user.getMobile());
-			request.getSession().setAttribute("userName", user.getName());
-			msg.data = user;
-		}
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	
-	
-	
-	/**
-	 * 获取物业列表
-	 * @param page
-	 * @param communityId
-	 * @param response
-	 * @return
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "getCommunityPropertyList")
-	public String getCommunityPropertyList(
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		CommunityPropertyExample meExample = new CommunityPropertyExample();
-		
-		// meExample.createCriteria().andTitleLike("%" + page + "%");
-		
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		int totalCnt = (int) communityPropertyMapper.countByExample(meExample);
-		int totalPage = totalCnt / pageSize
-				+ (totalCnt % pageSize == 0 ? 0 : 1);
-		meExample.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		List<CommunityProperty> mList = communityPropertyMapper.selectByExample(meExample);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("list", mList);
-		map.put("page", page);
-		msg.data = map;
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	
-	/**
-	 * 获取不分页的所有物业信息列表
-	 * @param response
-	 * @return
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "getCommunityPropertyAllMessageList")
-	public String getCommunityPropertyAllMessageList(
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		CommunityPropertyExample meExample = new CommunityPropertyExample();
-	    meExample.setOrderByClause("id desc");  //按照id排序
-	
-		List<CommunityProperty> list = communityPropertyMapper.selectByExample(meExample);
-	
-		if(list == null){
-			
-			list = new ArrayList<CommunityProperty>();
-			
-		}
-		msg.data = list;
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	/**
-	 * 获取物业的车位信息
-	 */
-	@RequestMapping(value = "getParkingPointList")
-	public String getParkingPointList(
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			@RequestParam(required = false) Integer communityId,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		ParkingPointExample meExample = new ParkingPointExample();
-		
-		// meExample.createCriteria().andTitleLike("%" + page + "%");
-		
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		int totalCnt = (int) parkingPointMapper.countByExample(meExample);
-		int totalPage = totalCnt / pageSize
-				+ (totalCnt % pageSize == 0 ? 0 : 1);
-		meExample.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		
-	meExample.createCriteria().andCommunityIdEqualTo(communityId);
-		
-		if(parkingPointMapper.countByExample(meExample) >0){
-			List<ParkingPoint> mList = parkingPointMapper.selectByExample(meExample);
-			Map<String, Object> map = new HashMap<String, Object>();
-			map.put("totalCnt", totalCnt);
-			map.put("totalPage", totalPage);
-			map.put("list", mList);
-			map.put("page", page);
-			msg.data = map;
-		}
-		
-		
-		
-
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	
-	/**
-	 * 添加消息
-	 */
-	@RequestMapping(value = "addMessage")
-	public String addMessage(@RequestParam String title,
-			@RequestParam String content, @RequestParam String pic,
-			@RequestParam(required = false) Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		if (id == null) {
-			Message message = new Message();
-			message.setIndate(new Date());
-			message.setContent(content);
-			message.setPic(pic);
-			message.setTitle(title);
-			message.setType(1);
-			messageMapper.insertSelective(message);
-		} else {
-			Message mesg = new Message();
-			mesg.setId(id);
-			mesg.setContent(content);
-			mesg.setIndate(new Date());
-			mesg.setTitle(title);
-			messageMapper.updateByPrimaryKeySelective(mesg);
-		}
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 获取消息列表
-	 */
-	@RequestMapping(value = "getMessageList")
-	public String getMessageList(
-			@RequestParam(required = false) String keyword,
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		MessageExample meExample = new MessageExample();
-		if (keyword != null) {
-			meExample.createCriteria().andTitleLike("%" + keyword + "%");
-		}
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		int totalCnt = messageMapper.countByExample(meExample);
-		int totalPage = totalCnt / pageSize
-				+ (totalCnt % pageSize == 0 ? 0 : 1);
-		meExample.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		List<Message> mList = messageMapper.selectByExample(meExample);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("list", mList);
-		map.put("page", page);
-		msg.data = map;
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 获取消息详情
-	 */
-	@RequestMapping(value = "getMessageDetail")
-	public String getMessageDetail(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		MessageExample mExample = new MessageExample();
-		mExample.createCriteria().andIdEqualTo(id);
-		msg.data = messageMapper.selectByExampleWithBLOBs(mExample).get(0);
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	/**
-	 * 消息推送
-	 */
-	@RequestMapping(value = "publishMsg")
-	public String publishMsg(@RequestParam Integer id,
-			@RequestParam String title, HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		Message message = messageMapper.selectByPrimaryKey(id);
-		String content = message.getContent(); 
-		if(content.length()>20) {
-			content = content.substring(0, 20)+"......";
-		}
-		aliPush.sendMsgToAll(message.getType(), title, content);
-//		aliPush.sendMsgToOne(title, json.toString(), "e66463779db74c73a02106eaffac98f5");
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-
-	}
-	
-	@RequestMapping(value = "updateAllGEO")
-	public String updateAllGEO(
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		List<ParkingPoint> list = parkingPointMapper.selectByExample(new ParkingPointExample());
-		for (ParkingPoint record : list) {
-			record.setGeo(new GeoHash(record.getLat(), record.getLng()).getGeoHashBase32());
-			parkingPointMapper.updateByPrimaryKey(record);
-		}
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 增加车位
-	 */
-	@RequestMapping(value = "addParkPoint")
-	public String addParkPoint(@ModelAttribute ParkingPoint record,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		if (record.getId() == null) {
-			parkingPointMapper.insertSelective(record);
-			System.out.println(record.getLat()+"+++11111===="+record.getLng()+"  "+record.getId());
-			int pCode = 10000 + record.getId();
-			record.setCode(pCode);
-//			GeoHash geo = new GeoHash(record.getLat(), record.getLng());
-//			String strGeo = geo.getGeoHashBase32();
-//			record.setGeo(strGeo);
-			record.setAvailable(false);
-			parkingPointMapper.updateByPrimaryKeySelective(record);
-			//生成车位二维码
-			File dir = new File(request.getRealPath("/"));
-			if (!dir.exists()) {
-				dir.mkdir();
-			}
-			JSONObject json = new JSONObject();
-			json.put("type", 1);
-			json.put("code", pCode);
-			QRTool.genMarkQR(dir.getAbsolutePath(), ""+pCode, json.toJSONString());
-		} else {
-			if (record.getLat() != null && record.getLng() != null) {
-				GeoHash geo = new GeoHash(record.getLat(), record.getLng());
-				String strGeo = geo.getGeoHashBase32();
-				record.setGeo(strGeo);
-				System.out.println(record.getLat()+"===="+record.getLng()+"===="+strGeo);
-			}
-			parkingPointMapper.updateByPrimaryKeySelective(record);
-		}
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	/**
-	 * 获取车位列表
-	 */
-	@RequestMapping(value = "getParkList")
-	public String getParkList(@RequestParam(required = false) String keyword,
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		VparkingPointExample pExample = new VparkingPointExample();
-		System.out.println("startIndex= "+startIndex+"page="+page);
-		if (keyword != null) {
-			if (keyword.length() == 5 && isNumericZidai(keyword)) {
-				int key = Integer.valueOf(keyword);
-				pExample.or(pExample.createCriteria().andCodeEqualTo(key));
-			}
-			pExample.createCriteria().andIdentityLike("%" + keyword + "%");
-			pExample.or(pExample.createCriteria().andSmsLike(
-					"%" + keyword + "%"));
-
-		}
-		int totalCnt = (int) vparkingPointMapper.countByExample(pExample);
-		int totalPage = totalCnt / pageSize
-				+ (totalCnt % pageSize == 0 ? 0 : 1);
-		pExample.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		List<VparkingPoint> pList = vparkingPointMapper.selectByExample(pExample);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("list", pList);
-		map.put("page", page);
-		msg.data = map;
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	public static boolean isNumericZidai(String str) {
-		for (int i = 0; i < str.length(); i++) {
-			System.out.println(str.charAt(i));
-			if (!Character.isDigit(str.charAt(i))) {
-				return false;
-			}
-		}
-		return true;
-	}
-
-	/**
-	 * 获取车位详情
-	 */
-	@RequestMapping(value = "getParkDetail")
-	public String getParkDetail(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		ParkingPointExample pExample = new ParkingPointExample();
-		pExample.createCriteria().andIdEqualTo(id);
-		msg.data = parkingPointMapper.selectByExample(pExample).get(0);
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	@RequestMapping(value = "genParkQR")
-	public String genParkQR(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		ParkingPoint p = parkingPointMapper.selectByPrimaryKey(id);
-		String code = ""+p.getCode();
-		JSONObject json = new JSONObject();
-		json.put("type", 1);
-		json.put("code", code);
-		//生成车位二维码
-		File dir = new File(request.getRealPath("/"));
-		if (!dir.exists()) {
-			dir.mkdir();
-		}
-		QRTool.genMarkQR(dir.getAbsolutePath(), code, json.toJSONString());
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 上下架车位
-	 */
-	@RequestMapping(value = "setPointAvailable")
-	public String setPointAvailable(@RequestParam Integer id,
-			@RequestParam Boolean state, HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		ParkingPointExample pExample = new ParkingPointExample();
-		pExample.createCriteria().andIdEqualTo(id);
-		ParkingPoint park = parkingPointMapper.selectByExample(pExample).get(0);
-		if (state == true) {
-			park.setAvailable(false);
-		} else {
-			park.setAvailable(true);
-		}
-		parkingPointMapper.updateByPrimaryKey(park);
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 增加优惠券
-	 */
-
-	@RequestMapping(value = "addCouponType")
-	public String addCuoponType(@ModelAttribute CouponType record,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		System.out
-				.println(record.getStartdate() + " == " + record.getEnddate()
-						+ " == " + record.getStarttime() + " == "
-						+ record.getEndtime());
-		if (record.getId() == null) {
-			
-			
-			couponTypeMapper.insertSelective(record);
-			
-			//生成优惠券类型二维码
-			File dir = new File(request.getRealPath("/"));
-			if (!dir.exists()) {
-				dir.mkdir();
-			}
-			JSONObject json = new JSONObject();
-			json.put("type", 2);
-			json.put("code", "id="+record.getId());
-			QRTool.genMarkQR(dir.getAbsolutePath(), ""+record.getId(), json.toJSONString());
-		} else {
-			couponTypeMapper.updateByPrimaryKeySelective(record);
-		}
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	@RequestMapping(value = "genCouponQR")
-	public String genCouponQR(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		JSONObject json = new JSONObject();
-		json.put("type", 2);
-		json.put("code", "id="+id);
-		//生成优惠券二维码
-		File dir = new File(request.getRealPath("/"));
-		if (!dir.exists()) {
-			dir.mkdir();
-		}
-		QRTool.genMarkQR(dir.getAbsolutePath(), ""+id, json.toJSONString());
-		
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	/**
-	 * 删除优惠券
-	 */
-
-	@RequestMapping(value = "delCouponType")
-	public String delCouponType(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-
-		CouponTypeExample cExample = new CouponTypeExample();
-		cExample.createCriteria().andIdEqualTo(id);
-		couponTypeMapper.deleteByExample(cExample);
-		
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 获取优惠券列表
-	 */
-
-	@RequestMapping(value = "getCouponTypeList")
-	public String getCouponTypeList(
-			@RequestParam(required = false) String keyword,
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		CouponTypeExample example = new CouponTypeExample();
-		if (keyword != null) {
-
-			if (keyword.equals("代金券")) {
-				example.createCriteria().andTypeEqualTo(1);
-			} else if (keyword.equals("按次优惠")) {
-				example.createCriteria().andTypeEqualTo(2);
-			} else {
-				example.createCriteria().andNameLike("%" + keyword + "%");
-			}
-		}
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		int totalCnt = couponTypeMapper.countByExample(example);
-		int totalPage = totalCnt / pageSize
-				+ ((totalCnt % pageSize == 0) ? 0 : 1);
-		example.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		List<CouponType> cList = couponTypeMapper.selectByExample(example);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("list", cList);
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("page", page);
-		msg.data = map;
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	/**
-	 * 获取优惠券列表
-	 * (发放优惠券时获取所有优惠券)
-	 */
-
-	@RequestMapping(value = "getAllTypeList")
-	public String getAllTypeList(
-			@RequestParam(required = false) String keyword,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		CouponTypeExample example = new CouponTypeExample();
-		msg.data = couponTypeMapper.selectByExample(example);
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	/**
-	 * 获取优惠券详情
-	 */
-	@RequestMapping(value = "getCouponTypeDetail")
-	public String getCouponTypeDetail(@RequestParam Integer id,
-			HttpServletResponse response) throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		CouponTypeExample example = new CouponTypeExample();
-		example.createCriteria().andIdEqualTo(id);
-		msg.data = couponTypeMapper.selectByExample(example).get(0);
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-
-	/**
-	 * 发放优惠券
-	 * 
-	 * @param mobile
-	 *            个人推送时的手机号
-	 * @param pushType
-	 *            1-发给个人 2-发给所有人
-	 */
-
-	@RequestMapping(value = "pushCoupon")
-	public String pushCoupon(@ModelAttribute Coupon record,
-			@RequestParam(required = false) String mobile,
-			@RequestParam Integer pushType, HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		if (pushType == 1) {
-			UserExample uExample = new UserExample();
-			uExample.createCriteria().andMobileEqualTo(mobile);
-			if(userMapper.countByExample(uExample) > 0){
-				record.setChannel("系统发放");
-				record.setIndate(new Date());
-				couponMapper.insertSelective(record);
-				User user = userMapper.selectByExample(uExample).get(0);
-				int userId = user.getId();
-				record.setOwerId(userId);
-				record.setCouponNo(""+(1000 + record.getId()));
-				couponMapper.updateByPrimaryKeySelective(record);
-				//发送推送通知
-				aliPush.sendMsgToOne(3, "您收到一张优惠券", "您收到一张来自平台的优惠券,"+record.getTitle(), user.getDeviceId());
-			}else{
-				msg.setError("无此账号");
-			}
-		} else {
-			UserExample userExample = new UserExample();
-			List<User> userList = userMapper.selectByExample(userExample);
-			for (int i = 0; i < userList.size(); i++) {
-				record.setIndate(new Date());
-				int userId = userList.get(i).getId();
-				record.setOwerId(userId);
-				record.setChannel("系统发放");
-				couponMapper.insertSelective(record);
-				record.setCouponNo(""+(1000 + record.getId()));
-				couponMapper.updateByPrimaryKeySelective(record);
-			}
-			aliPush.sendMsgToAll(3, "您收到一张优惠券", "您收到一张来自平台的优惠券,"+record.getTitle());
-		}
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	/**
-	 * 批量发放优惠券
-	 * @param record
-	 * @param ids
-	 * @param response
-	 * @return
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "pushCouponToMul")
-	public String pushCouponToMul(@ModelAttribute Coupon record,
-			@RequestParam String ids,
-			 HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		String deviceId = null;
-		String[] str = ids.split(",");
-		for(String id : str){
-			UserExample userExample = new UserExample();
-			userExample.createCriteria().andIdEqualTo(Integer.valueOf(id));
-			List<User> userList = userMapper.selectByExample(userExample);
-			for (int i = 0; i < userList.size(); i++) {
-				record.setIndate(new Date());
-				int userId = userList.get(i).getId();
-				deviceId = userList.get(i).getDeviceId();
-				record.setOwerId(userId);
-				record.setChannel("系统发放");
-				couponMapper.insertSelective(record);
-				record.setCouponNo(""+(1000 + record.getId()));
-				couponMapper.updateByPrimaryKeySelective(record);
-				aliPush.sendMsgToOne(3, "您收到一张优惠券", "您收到一张来自平台的优惠券,"+record.getTitle(),deviceId);
-			}
-		}
-
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	/**
-	 * 获取优惠券发放记录
-	 */
-	@RequestMapping(value = "getCouponRecordList")
-	public String getCouponRecordList(@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		VcouponExample example = new VcouponExample();
-		int pageSize = 15;
-		int startIndex = (page-1) * pageSize;
-		int totalCnt = vcouponMapper.countByExample(example);
-		int totalPage = totalCnt / pageSize
-				+ ((totalCnt % pageSize == 0) ? 0 : 1);
-		example.setOrderByClause("id desc limit "+startIndex+", " + pageSize);
-		List<Vcoupon> recordList = vcouponMapper.selectByExample(example);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("pageSize", pageSize);
-		map.put("list", recordList);
-		msg.data = map;
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	/**
-	 * 系统获取用户提现列表
-	 * @param response
-	 * @return
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "getWithdrawList")
-	public String getWithdrawList(
-			@RequestParam(required=false, defaultValue="1") Integer page,
-			HttpServletResponse response)
-			throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		WithdrawExample example = new WithdrawExample();
-		int pageSize = 15;
-		int totalCnt = withdrawMapper.countByExample(example);
-		int totalPage = totalCnt / pageSize
-				+ ((totalCnt % pageSize == 0) ? 0 : 1);
-		int startIndex = (page -1) * pageSize;
-		example.setOrderByClause("id desc limit " + startIndex + "," + pageSize);
-		
-		List<Withdraw> recordList = withdrawMapper.selectByExample(example);
-		Map<String, Object> map = new HashMap<String, Object>();
-		map.put("totalCnt", totalCnt);
-		map.put("totalPage", totalPage);
-		map.put("pageSize", pageSize);
-		map.put("list", recordList);
-		msg.data = map;
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-	
-	
-	/**
-	 * 处理提现请求
-	 * @param status 1-已完成,成功打款;2-驳回申请
-	 * @param reason 驳回申请的原因
-	 * @param response
-	 * @return
-	 * @throws Exception
-	 */
-	@RequestMapping(value = "dealWithdraw")
-	public String dealWithdraw(
-			@RequestParam Integer id,
-			@RequestParam Integer status,
-			@RequestParam(required=false) String reason,
-			HttpServletResponse response)
-					throws Exception {
-		HttpRespMsg msg = new HttpRespMsg();
-		
-		Withdraw record = new Withdraw();
-		record.setId(id);
-		record.setStatus(status);
-		record.setReason(reason);
-		record.setOpdate(new Date());
-		withdrawMapper.updateByPrimaryKeySelective(record);
-		
-		if (status == 1) {
-			//钱从账户里扣除
-			record = withdrawMapper.selectByPrimaryKey(id);
-			User user = userMapper.selectByPrimaryKey(record.getUserId());
-			user.setMoney(user.getMoney() - record.getApplyMoney());
-			userMapper.updateByPrimaryKeySelective(user);
-		}
-		
-		response.setContentType("application/json");
-		response.setCharacterEncoding("UTF-8");
-		response.getWriter().println(msg.toJSONStr());
-		return null;
-	}
-}

+ 83 - 0
cloud-socket/src/com/js/kbt/controller/WeiXinUser.java

@@ -0,0 +1,83 @@
+package com.js.kbt.controller;
+public class WeiXinUser {  
+    // 用户的标识  
+    private String openId;  
+    // 关注状态(1是关注,0是未关注),未关注时获取不到其余信息  
+    private int subscribe;  
+    // 用户关注时间,为时间戳。如果用户曾多次关注,则取最后关注时间  
+    private String subscribeTime;  
+    // 昵称  
+    private String nickname;  
+    // 用户的性别(1是男性,2是女性,0是未知)  
+    private int sex;  
+    // 用户所在国家  
+    private String country;  
+    // 用户所在省份  
+    private String province;  
+    // 用户所在城市  
+    private String city;  
+    // 用户的语言,简体中文为zh_CN  
+    private String language;  
+    // 用户头像  
+    private String headImgUrl;  
+    public String getOpenId() {  
+        return openId;  
+    }  
+    public void setOpenId(String openId) {  
+        this.openId = openId;  
+    }  
+    public int getSubscribe() {  
+        return subscribe;  
+    }  
+    public void setSubscribe(int subscribe) {  
+        this.subscribe = subscribe;  
+    }  
+    public String getSubscribeTime() {  
+        return subscribeTime;  
+    }  
+    public void setSubscribeTime(String subscribeTime) {  
+        this.subscribeTime = subscribeTime;  
+    }  
+    public String getNickname() {  
+        return nickname;  
+    }  
+    public void setNickname(String nickname) {  
+        this.nickname = nickname;  
+    }  
+    public int getSex() {  
+        return sex;  
+    }  
+    public void setSex(int sex) {  
+        this.sex = sex;  
+    }  
+    public String getCountry() {  
+        return country;  
+    }  
+    public void setCountry(String country) {  
+        this.country = country;  
+    }  
+    public String getProvince() {  
+        return province;  
+    }  
+    public void setProvince(String province) {  
+        this.province = province;  
+    }  
+    public String getCity() {  
+        return city;  
+    }  
+    public void setCity(String city) {  
+        this.city = city;  
+    }  
+    public String getLanguage() {  
+        return language;  
+    }  
+    public void setLanguage(String language) {  
+        this.language = language;  
+    }  
+    public String getHeadImgUrl() {  
+        return headImgUrl;  
+    }  
+    public void setHeadImgUrl(String headImgUrl) {  
+        this.headImgUrl = headImgUrl;  
+    }  
+}  

+ 229 - 0
cloud-socket/src/com/js/kbt/controller/WeiXinUserInfoController.java

@@ -0,0 +1,229 @@
+package com.js.kbt.controller;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Resource;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
+
+import org.apache.log4j.Logger;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.servlet.ModelAndView;
+import org.springframework.web.servlet.mvc.support.RedirectAttributes;
+
+import com.alibaba.fastjson.JSONObject;
+import com.js.kbt.mapper.TbUserMapper;
+import com.js.kbt.model.TbUser;
+import com.js.kbt.model.TbUserExample;
+import com.js.kbt.util.MD5Util;
+import com.js.kbt.util.ProjectConst;
+import com.js.kbt.util.WeiXinUtils;
+import com.js.kbt.util.WeixinPayConstants;
+
+/**
+ * @author seyason
+ * @create 2019-08-08
+ * @desc 获取用户微信openid,绑定
+ **/
+@Controller
+public class WeiXinUserInfoController {
+
+	@Autowired
+	private HttpServletRequest request;
+	@Resource(name = "tbUserMapper")
+	private TbUserMapper tbUserMapper;
+
+//	@Autowired
+//	private WeiXinPlatformService weiXinPlatformService;
+	Logger log = Logger.getLogger(WeiXinUserInfoController.class);	
+	
+	@RequestMapping("/getWeiXinOpenid")
+	public ModelAndView getWeiXinOpenid(@RequestParam(required = false) String code) {
+		log.info("============!!!!!进入getWeiXinOpenid==========");
+		ModelAndView modelAndView = new ModelAndView("bind_weixin");
+		/**
+		 * 进行获取openId,必须的一个参数,这个是当进行了授权页面的时候,再重定向了我们自己的一个页面的时候,
+		 * 会在request页面中,新增这个字段信息,要结合这个ProjectConst.Get_WEIXINPAGE_Code这个常量思考
+		 */
+		try {
+			// 得到当前用户的信息(具体信息就看weixinUser这个javabean)
+			WeiXinUser weiXinUser = getTheCode(request.getSession(), code);
+			// 如果没有,进行注册
+			if (weiXinUser != null) {
+				System.out.println("openid=" + weiXinUser.getOpenId());
+				String openId = weiXinUser.getOpenId();
+				modelAndView.addObject("openid", openId);
+				modelAndView.addObject("isFail", false);
+			} else {
+				modelAndView.addObject("isFail", true);
+			}
+		} catch (Exception e) {
+			e.printStackTrace();
+			modelAndView.addObject("isFail", true);
+		}
+		return modelAndView;
+	}
+	
+	
+	/**
+	 * 将openid和账号进行绑定,验证密码
+	 * @param openid
+	 * @param account
+	 * @param pwd
+	 * @param response
+	 */
+	@RequestMapping("/bindAccount")
+	public void bindAccount(@RequestParam String openid,@RequestParam String account, @RequestParam String pwd,
+			HttpServletResponse response
+			) {
+		HttpRespMsg msg = new HttpRespMsg();
+		
+		TbUserExample example = new TbUserExample();
+		example.createCriteria().andAccountEqualTo(account).andPasswordEqualTo(MD5Util.getPassword(pwd));
+		if (tbUserMapper.countByExample(example) > 0) {
+			TbUser user = tbUserMapper.selectByExample(example).get(0);
+			user.setOpenid(openid);
+			tbUserMapper.updateByPrimaryKeySelective(user);
+		} else {
+			msg.setError("账号密码错误");
+		}
+		
+		response.setContentType("application/json");
+		response.setCharacterEncoding("UTF-8");
+		try {
+			response.getWriter().println(msg.toJSONStr());
+		} catch (IOException e) {
+			e.printStackTrace();
+		}
+	}
+	
+
+	/**
+	 * 获取用户的openId
+	 * 
+	 * @param session
+	 * @param code
+	 * @return 返回封装的微信用户的对象
+	 */
+	private WeiXinUser getTheCode(HttpSession session, String code) {
+		Map<String, String> authInfo = new HashMap<>();
+		String openId = "";
+		if (code != null) {
+			// 调用根据用户的code得到需要的授权信息
+			authInfo = getAuthInfo(code);
+			// 获取到openId
+			openId = authInfo.get("Openid");
+		}
+		System.out.println("获取到微信openid==" + openId);
+		// 获取基础刷新的接口访问凭证(目前还没明白为什么用authInfo.get("AccessToken");这里面的access_token就不行)
+		String accessToken = authInfo.get("AccessToken");
+		// 获取到微信用户的信息
+		WeiXinUser userinfo = getUserInfo(accessToken, openId);
+		if (userinfo == null && openId != null && !openId.equals("")) {
+			userinfo = new WeiXinUser();
+			userinfo.setOpenId(openId);
+		}
+		return userinfo;
+	}
+
+	public WeiXinUser getUserInfo(String accessToken, String openId) {
+		WeiXinUser weixinUserInfo = null;
+		// 拼接获取用户信息接口的请求地址
+		// String requestUrl = ProjectConst.GET_WEIXIN_USER_URL.replace("ACCESS_TOKEN",
+		// accessToken).replace(
+		// "OPENID", openId);
+		String requestUrl = ProjectConst.GetPageUsersUrl.replace("ACCESS_TOKEN", accessToken).replace("OPENID", openId);
+		// 获取用户信息(返回的是Json格式内容)
+		JSONObject jsonObject = WeiXinUtils.doGetStr(requestUrl);
+
+		if (null != jsonObject) {
+			try {
+				// 封装获取到的用户信息
+				weixinUserInfo = new WeiXinUser();
+				// 用户的标识
+				weixinUserInfo.setOpenId(jsonObject.getString("openid"));
+				// 昵称
+//				weixinUserInfo.setNickname(EmojiHttpServletRequestWraper.filterEmoji(jsonObject.getString("nickname")));
+				// 用户的性别(1是男性,2是女性,0是未知)
+//				if (jsonObject.containsKey("sex")) {
+//					weixinUserInfo.setSex(jsonObject.getInteger("sex"));
+//				}
+
+				// 用户所在国家
+				weixinUserInfo.setCountry(jsonObject.getString("country"));
+				// 用户所在省份
+				weixinUserInfo.setProvince(jsonObject.getString("province"));
+				// 用户所在城市
+				weixinUserInfo.setCity(jsonObject.getString("city"));
+				// 用户头像
+				weixinUserInfo.setHeadImgUrl(jsonObject.getString("headimgurl"));
+			} catch (Exception e) {
+				if (0 == weixinUserInfo.getSubscribe()) {
+					System.out.println("用户并没有关注本公众号");
+				} else {
+					int errorCode = jsonObject.getInteger("errcode");
+					String errorMsg = jsonObject.getString("errmsg");
+					System.out.println("由于" + errorCode + "错误码;错误信息为:" + errorMsg + ";导致获取用户信息失败");
+				}
+			}
+		}
+		return weixinUserInfo;
+	}
+
+	/**
+	 * 进行用户授权,获取到需要的授权字段,比如openId
+	 * 
+	 * @param code
+	 *            识别得到用户id必须的一个值 得到网页授权凭证和用户id
+	 * @return
+	 */
+	public Map<String, String> oauth2GetOpenid(String code) {
+		// 自己的配置appid(公众号进行查阅)
+		String appid = WeixinPayConstants.appid;
+		// 自己的配置APPSECRET;(公众号进行查阅)
+		String appsecret = WeixinPayConstants.appsecret;
+		// 拼接用户授权接口信息
+		String requestUrl = ProjectConst.GET_WEBAUTH_URL.replace("APPID", appid).replace("SECRET", appsecret)
+				.replace("CODE", code);
+		// 存储获取到的授权字段信息
+		Map<String, String> result = new HashMap<String, String>();
+		try {
+			JSONObject OpenidJSONO = WeiXinUtils.doGetStr(requestUrl);
+			// OpenidJSONO可以得到的内容:access_token expires_in refresh_token openid scope
+			String Openid = String.valueOf(OpenidJSONO.get("openid"));
+			String AccessToken = String.valueOf(OpenidJSONO.get("access_token"));
+			// 用户保存的作用域
+			String Scope = String.valueOf(OpenidJSONO.get("scope"));
+			String refresh_token = String.valueOf(OpenidJSONO.get("refresh_token"));
+			result.put("Openid", Openid);
+			result.put("AccessToken", AccessToken);
+			result.put("scope", Scope);
+			result.put("refresh_token", refresh_token);
+		} catch (Exception e) {
+			e.printStackTrace();
+		}
+		return result;
+	}
+
+	/**
+	 * 获取到微信用户的唯一的OpendID
+	 * 
+	 * @param code
+	 *            这是要获取OpendId的必须的一个参数
+	 * @return
+	 */
+	public Map<String, String> getAuthInfo(String code) {
+		// 进行授权验证,获取到OpenID字段等信息
+		Map<String, String> result = oauth2GetOpenid(code);
+		// 从这里可以得到用户openid
+		String openId = result.get("Openid");
+
+		return result;
+	}
+}

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/ChargeRecordMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.ChargeRecord;
-import com.js.kbt.model.ChargeRecordExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface ChargeRecordMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int countByExample(ChargeRecordExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int deleteByExample(ChargeRecordExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int insert(ChargeRecord record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int insertSelective(ChargeRecord record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	List<ChargeRecord> selectByExample(ChargeRecordExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	ChargeRecord selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") ChargeRecord record,
-			@Param("example") ChargeRecordExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int updateByExample(@Param("record") ChargeRecord record,
-			@Param("example") ChargeRecordExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int updateByPrimaryKeySelective(ChargeRecord record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	int updateByPrimaryKey(ChargeRecord record);
-}

+ 0 - 333
cloud-socket/src/com/js/kbt/mapper/ChargeRecordMapper.xml

@@ -1,333 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.ChargeRecordMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.ChargeRecord">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="seq" jdbcType="VARCHAR" property="seq" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-    <result column="amt" jdbcType="INTEGER" property="amt" />
-    <result column="way" jdbcType="VARCHAR" property="way" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="state" jdbcType="INTEGER" property="state" />
-    <result column="name" jdbcType="VARCHAR" property="name" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    id, seq, user_id, amt, way, indate, state, name
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.ChargeRecordExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from charge_record
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from charge_record
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    delete from charge_record
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.ChargeRecordExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    delete from charge_record
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.ChargeRecord">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into charge_record (seq, user_id, amt, 
-      way, indate, state, 
-      name)
-    values (#{seq,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{amt,jdbcType=INTEGER}, 
-      #{way,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{state,jdbcType=INTEGER}, 
-      #{name,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.ChargeRecord">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into charge_record
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="seq != null">
-        seq,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="amt != null">
-        amt,
-      </if>
-      <if test="way != null">
-        way,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="state != null">
-        state,
-      </if>
-      <if test="name != null">
-        name,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="seq != null">
-        #{seq,jdbcType=VARCHAR},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="amt != null">
-        #{amt,jdbcType=INTEGER},
-      </if>
-      <if test="way != null">
-        #{way,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="state != null">
-        #{state,jdbcType=INTEGER},
-      </if>
-      <if test="name != null">
-        #{name,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.ChargeRecordExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    select count(*) from charge_record
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    update charge_record
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.seq != null">
-        seq = #{record.seq,jdbcType=VARCHAR},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.amt != null">
-        amt = #{record.amt,jdbcType=INTEGER},
-      </if>
-      <if test="record.way != null">
-        way = #{record.way,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.state != null">
-        state = #{record.state,jdbcType=INTEGER},
-      </if>
-      <if test="record.name != null">
-        name = #{record.name,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    update charge_record
-    set id = #{record.id,jdbcType=INTEGER},
-      seq = #{record.seq,jdbcType=VARCHAR},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      amt = #{record.amt,jdbcType=INTEGER},
-      way = #{record.way,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      state = #{record.state,jdbcType=INTEGER},
-      name = #{record.name,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.ChargeRecord">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    update charge_record
-    <set>
-      <if test="seq != null">
-        seq = #{seq,jdbcType=VARCHAR},
-      </if>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="amt != null">
-        amt = #{amt,jdbcType=INTEGER},
-      </if>
-      <if test="way != null">
-        way = #{way,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="state != null">
-        state = #{state,jdbcType=INTEGER},
-      </if>
-      <if test="name != null">
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.ChargeRecord">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 06 14:46:41 CST 2017.
-    -->
-    update charge_record
-    set seq = #{seq,jdbcType=VARCHAR},
-      user_id = #{userId,jdbcType=INTEGER},
-      amt = #{amt,jdbcType=INTEGER},
-      way = #{way,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      state = #{state,jdbcType=INTEGER},
-      name = #{name,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 96
cloud-socket/src/com/js/kbt/mapper/CommunityPropertyMapper.java

@@ -1,96 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.CommunityProperty;
-import com.js.kbt.model.CommunityPropertyExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface CommunityPropertyMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int countByExample(CommunityPropertyExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int deleteByExample(CommunityPropertyExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int deleteByPrimaryKey(Integer id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int insert(CommunityProperty record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int insertSelective(CommunityProperty record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    List<CommunityProperty> selectByExample(CommunityPropertyExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    CommunityProperty selectByPrimaryKey(Integer id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") CommunityProperty record, @Param("example") CommunityPropertyExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int updateByExample(@Param("record") CommunityProperty record, @Param("example") CommunityPropertyExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int updateByPrimaryKeySelective(CommunityProperty record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    int updateByPrimaryKey(CommunityProperty record);
-}

+ 0 - 348
cloud-socket/src/com/js/kbt/mapper/CommunityPropertyMapper.xml

@@ -1,348 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.CommunityPropertyMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.CommunityProperty" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    <id column="id" property="id" jdbcType="INTEGER" />
-    <result column="name" property="name" jdbcType="VARCHAR" />
-    <result column="username" property="username" jdbcType="VARCHAR" />
-    <result column="pwd" property="pwd" jdbcType="VARCHAR" />
-    <result column="indate" property="indate" jdbcType="TIMESTAMP" />
-    <result column="tel" property="tel" jdbcType="VARCHAR" />
-    <result column="bank_account" property="bankAccount" jdbcType="VARCHAR" />
-    <result column="service_fee" property="serviceFee" jdbcType="INTEGER" />
-    <result column="money" property="money" jdbcType="DOUBLE" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    id, name, username, pwd, indate, tel, bank_account, service_fee, money
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.CommunityPropertyExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from community_property
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from community_property
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    delete from community_property
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.CommunityPropertyExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    delete from community_property
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.CommunityProperty" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    <selectKey resultType="java.lang.Integer" keyProperty="id" order="AFTER" >
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into community_property (name, username, pwd, 
-      indate, tel, bank_account, 
-      service_fee, money)
-    values (#{name,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{pwd,jdbcType=VARCHAR}, 
-      #{indate,jdbcType=TIMESTAMP}, #{tel,jdbcType=VARCHAR}, #{bankAccount,jdbcType=VARCHAR}, 
-      #{serviceFee,jdbcType=INTEGER}, #{money,jdbcType=DOUBLE})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.CommunityProperty" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    <selectKey resultType="java.lang.Integer" keyProperty="id" order="AFTER" >
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into community_property
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="name != null" >
-        name,
-      </if>
-      <if test="username != null" >
-        username,
-      </if>
-      <if test="pwd != null" >
-        pwd,
-      </if>
-      <if test="indate != null" >
-        indate,
-      </if>
-      <if test="tel != null" >
-        tel,
-      </if>
-      <if test="bankAccount != null" >
-        bank_account,
-      </if>
-      <if test="serviceFee != null" >
-        service_fee,
-      </if>
-      <if test="money != null" >
-        money,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="name != null" >
-        #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="username != null" >
-        #{username,jdbcType=VARCHAR},
-      </if>
-      <if test="pwd != null" >
-        #{pwd,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null" >
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="tel != null" >
-        #{tel,jdbcType=VARCHAR},
-      </if>
-      <if test="bankAccount != null" >
-        #{bankAccount,jdbcType=VARCHAR},
-      </if>
-      <if test="serviceFee != null" >
-        #{serviceFee,jdbcType=INTEGER},
-      </if>
-      <if test="money != null" >
-        #{money,jdbcType=DOUBLE},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.CommunityPropertyExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    select count(*) from community_property
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    update community_property
-    <set >
-      <if test="record.id != null" >
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.name != null" >
-        name = #{record.name,jdbcType=VARCHAR},
-      </if>
-      <if test="record.username != null" >
-        username = #{record.username,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pwd != null" >
-        pwd = #{record.pwd,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null" >
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.tel != null" >
-        tel = #{record.tel,jdbcType=VARCHAR},
-      </if>
-      <if test="record.bankAccount != null" >
-        bank_account = #{record.bankAccount,jdbcType=VARCHAR},
-      </if>
-      <if test="record.serviceFee != null" >
-        service_fee = #{record.serviceFee,jdbcType=INTEGER},
-      </if>
-      <if test="record.money != null" >
-        money = #{record.money,jdbcType=DOUBLE},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    update community_property
-    set id = #{record.id,jdbcType=INTEGER},
-      name = #{record.name,jdbcType=VARCHAR},
-      username = #{record.username,jdbcType=VARCHAR},
-      pwd = #{record.pwd,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      tel = #{record.tel,jdbcType=VARCHAR},
-      bank_account = #{record.bankAccount,jdbcType=VARCHAR},
-      service_fee = #{record.serviceFee,jdbcType=INTEGER},
-      money = #{record.money,jdbcType=DOUBLE}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.CommunityProperty" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    update community_property
-    <set >
-      <if test="name != null" >
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="username != null" >
-        username = #{username,jdbcType=VARCHAR},
-      </if>
-      <if test="pwd != null" >
-        pwd = #{pwd,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null" >
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="tel != null" >
-        tel = #{tel,jdbcType=VARCHAR},
-      </if>
-      <if test="bankAccount != null" >
-        bank_account = #{bankAccount,jdbcType=VARCHAR},
-      </if>
-      <if test="serviceFee != null" >
-        service_fee = #{serviceFee,jdbcType=INTEGER},
-      </if>
-      <if test="money != null" >
-        money = #{money,jdbcType=DOUBLE},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.CommunityProperty" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 01 09:24:46 CST 2017.
-    -->
-    update community_property
-    set name = #{name,jdbcType=VARCHAR},
-      username = #{username,jdbcType=VARCHAR},
-      pwd = #{pwd,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      tel = #{tel,jdbcType=VARCHAR},
-      bank_account = #{bankAccount,jdbcType=VARCHAR},
-      service_fee = #{serviceFee,jdbcType=INTEGER},
-      money = #{money,jdbcType=DOUBLE}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/CouponMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Coupon;
-import com.js.kbt.model.CouponExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface CouponMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int countByExample(CouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int deleteByExample(CouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int insert(Coupon record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int insertSelective(Coupon record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	List<Coupon> selectByExample(CouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	Coupon selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Coupon record,
-			@Param("example") CouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int updateByExample(@Param("record") Coupon record,
-			@Param("example") CouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Coupon record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	int updateByPrimaryKey(Coupon record);
-}

+ 0 - 490
cloud-socket/src/com/js/kbt/mapper/CouponMapper.xml

@@ -1,490 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.CouponMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Coupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="coupon_no" jdbcType="VARCHAR" property="couponNo" />
-    <result column="order_identity" jdbcType="VARCHAR" property="orderIdentity" />
-    <result column="type" jdbcType="INTEGER" property="type" />
-    <result column="ower_id" jdbcType="INTEGER" property="owerId" />
-    <result column="coupon_amount" jdbcType="INTEGER" property="couponAmount" />
-    <result column="coupon_rule" jdbcType="VARCHAR" property="couponRule" />
-    <result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
-    <result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
-    <result column="area_limit" jdbcType="VARCHAR" property="areaLimit" />
-    <result column="time_e" jdbcType="VARCHAR" property="timeE" />
-    <result column="time_s" jdbcType="VARCHAR" property="timeS" />
-    <result column="channel" jdbcType="VARCHAR" property="channel" />
-    <result column="title" jdbcType="VARCHAR" property="title" />
-    <result column="descp" jdbcType="VARCHAR" property="descp" />
-    <result column="memo" jdbcType="VARCHAR" property="memo" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="type_id" jdbcType="INTEGER" property="typeId" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    id, coupon_no, order_identity, type, ower_id, coupon_amount, coupon_rule, start_time, 
-    end_time, area_limit, time_e, time_s, channel, title, descp, memo, indate, type_id
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.CouponExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from coupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from coupon
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    delete from coupon
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.CouponExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    delete from coupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Coupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into coupon (coupon_no, order_identity, type, 
-      ower_id, coupon_amount, coupon_rule, 
-      start_time, end_time, area_limit, 
-      time_e, time_s, channel, 
-      title, descp, memo, 
-      indate, type_id)
-    values (#{couponNo,jdbcType=VARCHAR}, #{orderIdentity,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, 
-      #{owerId,jdbcType=INTEGER}, #{couponAmount,jdbcType=INTEGER}, #{couponRule,jdbcType=VARCHAR}, 
-      #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{areaLimit,jdbcType=VARCHAR}, 
-      #{timeE,jdbcType=VARCHAR}, #{timeS,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, 
-      #{title,jdbcType=VARCHAR}, #{descp,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
-      #{indate,jdbcType=TIMESTAMP}, #{typeId,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Coupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into coupon
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="couponNo != null">
-        coupon_no,
-      </if>
-      <if test="orderIdentity != null">
-        order_identity,
-      </if>
-      <if test="type != null">
-        type,
-      </if>
-      <if test="owerId != null">
-        ower_id,
-      </if>
-      <if test="couponAmount != null">
-        coupon_amount,
-      </if>
-      <if test="couponRule != null">
-        coupon_rule,
-      </if>
-      <if test="startTime != null">
-        start_time,
-      </if>
-      <if test="endTime != null">
-        end_time,
-      </if>
-      <if test="areaLimit != null">
-        area_limit,
-      </if>
-      <if test="timeE != null">
-        time_e,
-      </if>
-      <if test="timeS != null">
-        time_s,
-      </if>
-      <if test="channel != null">
-        channel,
-      </if>
-      <if test="title != null">
-        title,
-      </if>
-      <if test="descp != null">
-        descp,
-      </if>
-      <if test="memo != null">
-        memo,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="typeId != null">
-        type_id,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="couponNo != null">
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="orderIdentity != null">
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="type != null">
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="owerId != null">
-        #{owerId,jdbcType=INTEGER},
-      </if>
-      <if test="couponAmount != null">
-        #{couponAmount,jdbcType=INTEGER},
-      </if>
-      <if test="couponRule != null">
-        #{couponRule,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null">
-        #{startTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endTime != null">
-        #{endTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="areaLimit != null">
-        #{areaLimit,jdbcType=VARCHAR},
-      </if>
-      <if test="timeE != null">
-        #{timeE,jdbcType=VARCHAR},
-      </if>
-      <if test="timeS != null">
-        #{timeS,jdbcType=VARCHAR},
-      </if>
-      <if test="channel != null">
-        #{channel,jdbcType=VARCHAR},
-      </if>
-      <if test="title != null">
-        #{title,jdbcType=VARCHAR},
-      </if>
-      <if test="descp != null">
-        #{descp,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="typeId != null">
-        #{typeId,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.CouponExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    select count(*) from coupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    update coupon
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponNo != null">
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderIdentity != null">
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.type != null">
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.owerId != null">
-        ower_id = #{record.owerId,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponAmount != null">
-        coupon_amount = #{record.couponAmount,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponRule != null">
-        coupon_rule = #{record.couponRule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startTime != null">
-        start_time = #{record.startTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endTime != null">
-        end_time = #{record.endTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.areaLimit != null">
-        area_limit = #{record.areaLimit,jdbcType=VARCHAR},
-      </if>
-      <if test="record.timeE != null">
-        time_e = #{record.timeE,jdbcType=VARCHAR},
-      </if>
-      <if test="record.timeS != null">
-        time_s = #{record.timeS,jdbcType=VARCHAR},
-      </if>
-      <if test="record.channel != null">
-        channel = #{record.channel,jdbcType=VARCHAR},
-      </if>
-      <if test="record.title != null">
-        title = #{record.title,jdbcType=VARCHAR},
-      </if>
-      <if test="record.descp != null">
-        descp = #{record.descp,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null">
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.typeId != null">
-        type_id = #{record.typeId,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    update coupon
-    set id = #{record.id,jdbcType=INTEGER},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      type = #{record.type,jdbcType=INTEGER},
-      ower_id = #{record.owerId,jdbcType=INTEGER},
-      coupon_amount = #{record.couponAmount,jdbcType=INTEGER},
-      coupon_rule = #{record.couponRule,jdbcType=VARCHAR},
-      start_time = #{record.startTime,jdbcType=TIMESTAMP},
-      end_time = #{record.endTime,jdbcType=TIMESTAMP},
-      area_limit = #{record.areaLimit,jdbcType=VARCHAR},
-      time_e = #{record.timeE,jdbcType=VARCHAR},
-      time_s = #{record.timeS,jdbcType=VARCHAR},
-      channel = #{record.channel,jdbcType=VARCHAR},
-      title = #{record.title,jdbcType=VARCHAR},
-      descp = #{record.descp,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      type_id = #{record.typeId,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Coupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    update coupon
-    <set>
-      <if test="couponNo != null">
-        coupon_no = #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="orderIdentity != null">
-        order_identity = #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="type != null">
-        type = #{type,jdbcType=INTEGER},
-      </if>
-      <if test="owerId != null">
-        ower_id = #{owerId,jdbcType=INTEGER},
-      </if>
-      <if test="couponAmount != null">
-        coupon_amount = #{couponAmount,jdbcType=INTEGER},
-      </if>
-      <if test="couponRule != null">
-        coupon_rule = #{couponRule,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null">
-        start_time = #{startTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endTime != null">
-        end_time = #{endTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="areaLimit != null">
-        area_limit = #{areaLimit,jdbcType=VARCHAR},
-      </if>
-      <if test="timeE != null">
-        time_e = #{timeE,jdbcType=VARCHAR},
-      </if>
-      <if test="timeS != null">
-        time_s = #{timeS,jdbcType=VARCHAR},
-      </if>
-      <if test="channel != null">
-        channel = #{channel,jdbcType=VARCHAR},
-      </if>
-      <if test="title != null">
-        title = #{title,jdbcType=VARCHAR},
-      </if>
-      <if test="descp != null">
-        descp = #{descp,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        memo = #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="typeId != null">
-        type_id = #{typeId,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Coupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jul 12 17:22:50 CST 2017.
-    -->
-    update coupon
-    set coupon_no = #{couponNo,jdbcType=VARCHAR},
-      order_identity = #{orderIdentity,jdbcType=VARCHAR},
-      type = #{type,jdbcType=INTEGER},
-      ower_id = #{owerId,jdbcType=INTEGER},
-      coupon_amount = #{couponAmount,jdbcType=INTEGER},
-      coupon_rule = #{couponRule,jdbcType=VARCHAR},
-      start_time = #{startTime,jdbcType=TIMESTAMP},
-      end_time = #{endTime,jdbcType=TIMESTAMP},
-      area_limit = #{areaLimit,jdbcType=VARCHAR},
-      time_e = #{timeE,jdbcType=VARCHAR},
-      time_s = #{timeS,jdbcType=VARCHAR},
-      channel = #{channel,jdbcType=VARCHAR},
-      title = #{title,jdbcType=VARCHAR},
-      descp = #{descp,jdbcType=VARCHAR},
-      memo = #{memo,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      type_id = #{typeId,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/CouponTypeMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.CouponType;
-import com.js.kbt.model.CouponTypeExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface CouponTypeMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int countByExample(CouponTypeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int deleteByExample(CouponTypeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int insert(CouponType record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int insertSelective(CouponType record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	List<CouponType> selectByExample(CouponTypeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	CouponType selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") CouponType record,
-			@Param("example") CouponTypeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int updateByExample(@Param("record") CouponType record,
-			@Param("example") CouponTypeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int updateByPrimaryKeySelective(CouponType record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table coupon_type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	int updateByPrimaryKey(CouponType record);
-}

+ 0 - 380
cloud-socket/src/com/js/kbt/mapper/CouponTypeMapper.xml

@@ -1,380 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.CouponTypeMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.CouponType">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="type" jdbcType="INTEGER" property="type" />
-    <result column="startDate" jdbcType="VARCHAR" property="startdate" />
-    <result column="endDate" jdbcType="VARCHAR" property="enddate" />
-    <result column="startTime" jdbcType="VARCHAR" property="starttime" />
-    <result column="endTime" jdbcType="VARCHAR" property="endtime" />
-    <result column="money" jdbcType="INTEGER" property="money" />
-    <result column="name" jdbcType="VARCHAR" property="name" />
-    <result column="address" jdbcType="VARCHAR" property="address" />
-    <result column="descp" jdbcType="VARCHAR" property="descp" />
-    <result column="title" jdbcType="VARCHAR" property="title" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    id, type, startDate, endDate, startTime, endTime, money, name, address, descp, title
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.CouponTypeExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from coupon_type
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from coupon_type
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    delete from coupon_type
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.CouponTypeExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    delete from coupon_type
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.CouponType">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into coupon_type (type, startDate, endDate, 
-      startTime, endTime, money, 
-      name, address, descp, 
-      title)
-    values (#{type,jdbcType=INTEGER}, #{startdate,jdbcType=VARCHAR}, #{enddate,jdbcType=VARCHAR}, 
-      #{starttime,jdbcType=VARCHAR}, #{endtime,jdbcType=VARCHAR}, #{money,jdbcType=INTEGER}, 
-      #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{descp,jdbcType=VARCHAR}, 
-      #{title,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.CouponType">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into coupon_type
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="type != null">
-        type,
-      </if>
-      <if test="startdate != null">
-        startDate,
-      </if>
-      <if test="enddate != null">
-        endDate,
-      </if>
-      <if test="starttime != null">
-        startTime,
-      </if>
-      <if test="endtime != null">
-        endTime,
-      </if>
-      <if test="money != null">
-        money,
-      </if>
-      <if test="name != null">
-        name,
-      </if>
-      <if test="address != null">
-        address,
-      </if>
-      <if test="descp != null">
-        descp,
-      </if>
-      <if test="title != null">
-        title,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="type != null">
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="startdate != null">
-        #{startdate,jdbcType=VARCHAR},
-      </if>
-      <if test="enddate != null">
-        #{enddate,jdbcType=VARCHAR},
-      </if>
-      <if test="starttime != null">
-        #{starttime,jdbcType=VARCHAR},
-      </if>
-      <if test="endtime != null">
-        #{endtime,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        #{money,jdbcType=INTEGER},
-      </if>
-      <if test="name != null">
-        #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="descp != null">
-        #{descp,jdbcType=VARCHAR},
-      </if>
-      <if test="title != null">
-        #{title,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.CouponTypeExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    select count(*) from coupon_type
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    update coupon_type
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.type != null">
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.startdate != null">
-        startDate = #{record.startdate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.enddate != null">
-        endDate = #{record.enddate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.starttime != null">
-        startTime = #{record.starttime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.endtime != null">
-        endTime = #{record.endtime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.money != null">
-        money = #{record.money,jdbcType=INTEGER},
-      </if>
-      <if test="record.name != null">
-        name = #{record.name,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null">
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.descp != null">
-        descp = #{record.descp,jdbcType=VARCHAR},
-      </if>
-      <if test="record.title != null">
-        title = #{record.title,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    update coupon_type
-    set id = #{record.id,jdbcType=INTEGER},
-      type = #{record.type,jdbcType=INTEGER},
-      startDate = #{record.startdate,jdbcType=VARCHAR},
-      endDate = #{record.enddate,jdbcType=VARCHAR},
-      startTime = #{record.starttime,jdbcType=VARCHAR},
-      endTime = #{record.endtime,jdbcType=VARCHAR},
-      money = #{record.money,jdbcType=INTEGER},
-      name = #{record.name,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      descp = #{record.descp,jdbcType=VARCHAR},
-      title = #{record.title,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.CouponType">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    update coupon_type
-    <set>
-      <if test="type != null">
-        type = #{type,jdbcType=INTEGER},
-      </if>
-      <if test="startdate != null">
-        startDate = #{startdate,jdbcType=VARCHAR},
-      </if>
-      <if test="enddate != null">
-        endDate = #{enddate,jdbcType=VARCHAR},
-      </if>
-      <if test="starttime != null">
-        startTime = #{starttime,jdbcType=VARCHAR},
-      </if>
-      <if test="endtime != null">
-        endTime = #{endtime,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        money = #{money,jdbcType=INTEGER},
-      </if>
-      <if test="name != null">
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        address = #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="descp != null">
-        descp = #{descp,jdbcType=VARCHAR},
-      </if>
-      <if test="title != null">
-        title = #{title,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.CouponType">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Jul 17 14:15:04 CST 2017.
-    -->
-    update coupon_type
-    set type = #{type,jdbcType=INTEGER},
-      startDate = #{startdate,jdbcType=VARCHAR},
-      endDate = #{enddate,jdbcType=VARCHAR},
-      startTime = #{starttime,jdbcType=VARCHAR},
-      endTime = #{endtime,jdbcType=VARCHAR},
-      money = #{money,jdbcType=INTEGER},
-      name = #{name,jdbcType=VARCHAR},
-      address = #{address,jdbcType=VARCHAR},
-      descp = #{descp,jdbcType=VARCHAR},
-      title = #{title,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/FixMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Fix;
-import com.js.kbt.model.FixExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface FixMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int countByExample(FixExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int deleteByExample(FixExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int insert(Fix record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int insertSelective(Fix record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	List<Fix> selectByExample(FixExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	Fix selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Fix record,
-			@Param("example") FixExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int updateByExample(@Param("record") Fix record,
-			@Param("example") FixExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Fix record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	int updateByPrimaryKey(Fix record);
-}

+ 0 - 286
cloud-socket/src/com/js/kbt/mapper/FixMapper.xml

@@ -1,286 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.FixMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Fix">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="msg" jdbcType="VARCHAR" property="msg" />
-    <result column="pic" jdbcType="VARCHAR" property="pic" />
-    <result column="is_deal" jdbcType="INTEGER" property="isDeal" />
-    <result column="identity" jdbcType="VARCHAR" property="identity" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    id, msg, pic, is_deal, identity
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.FixExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from fix
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from fix
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    delete from fix
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.FixExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    delete from fix
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Fix">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    insert into fix (id, msg, pic, 
-      is_deal, identity)
-    values (#{id,jdbcType=INTEGER}, #{msg,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, 
-      #{isDeal,jdbcType=INTEGER}, #{identity,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Fix">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    insert into fix
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="msg != null">
-        msg,
-      </if>
-      <if test="pic != null">
-        pic,
-      </if>
-      <if test="isDeal != null">
-        is_deal,
-      </if>
-      <if test="identity != null">
-        identity,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="msg != null">
-        #{msg,jdbcType=VARCHAR},
-      </if>
-      <if test="pic != null">
-        #{pic,jdbcType=VARCHAR},
-      </if>
-      <if test="isDeal != null">
-        #{isDeal,jdbcType=INTEGER},
-      </if>
-      <if test="identity != null">
-        #{identity,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.FixExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    select count(*) from fix
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    update fix
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.msg != null">
-        msg = #{record.msg,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pic != null">
-        pic = #{record.pic,jdbcType=VARCHAR},
-      </if>
-      <if test="record.isDeal != null">
-        is_deal = #{record.isDeal,jdbcType=INTEGER},
-      </if>
-      <if test="record.identity != null">
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    update fix
-    set id = #{record.id,jdbcType=INTEGER},
-      msg = #{record.msg,jdbcType=VARCHAR},
-      pic = #{record.pic,jdbcType=VARCHAR},
-      is_deal = #{record.isDeal,jdbcType=INTEGER},
-      identity = #{record.identity,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Fix">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    update fix
-    <set>
-      <if test="msg != null">
-        msg = #{msg,jdbcType=VARCHAR},
-      </if>
-      <if test="pic != null">
-        pic = #{pic,jdbcType=VARCHAR},
-      </if>
-      <if test="isDeal != null">
-        is_deal = #{isDeal,jdbcType=INTEGER},
-      </if>
-      <if test="identity != null">
-        identity = #{identity,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Fix">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:25:41 CST 2017.
-    -->
-    update fix
-    set msg = #{msg,jdbcType=VARCHAR},
-      pic = #{pic,jdbcType=VARCHAR},
-      is_deal = #{isDeal,jdbcType=INTEGER},
-      identity = #{identity,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 96
cloud-socket/src/com/js/kbt/mapper/MessageMapper.java

@@ -1,96 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Message;
-import com.js.kbt.model.MessageExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface MessageMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int countByExample(MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int deleteByExample(MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int insert(Message record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int insertSelective(Message record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	List<Message> selectByExampleWithBLOBs(MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	List<Message> selectByExample(MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	Message selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Message record,
-			@Param("example") MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByExampleWithBLOBs(@Param("record") Message record,
-			@Param("example") MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByExample(@Param("record") Message record,
-			@Param("example") MessageExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Message record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByPrimaryKeyWithBLOBs(Message record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	int updateByPrimaryKey(Message record);
-}

+ 0 - 404
cloud-socket/src/com/js/kbt/mapper/MessageMapper.xml

@@ -1,404 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.MessageMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="title" jdbcType="VARCHAR" property="title" />
-    <result column="pic" jdbcType="VARCHAR" property="pic" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="type" jdbcType="INTEGER" property="type" />
-    <result column="ext" jdbcType="VARCHAR" property="ext" />
-    <result column="user_token" jdbcType="VARCHAR" property="userToken" />
-  </resultMap>
-  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <result column="content" jdbcType="LONGVARCHAR" property="content" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    id, title, pic, indate, type, ext, user_token
-  </sql>
-  <sql id="Blob_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    content
-  </sql>
-  <select id="selectByExampleWithBLOBs" parameterType="com.js.kbt.model.MessageExample" resultMap="ResultMapWithBLOBs">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    ,
-    <include refid="Blob_Column_List" />
-    from message
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByExample" parameterType="com.js.kbt.model.MessageExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from message
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    ,
-    <include refid="Blob_Column_List" />
-    from message
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    delete from message
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.MessageExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    delete from message
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into message (title, pic, indate, 
-      type, ext, user_token, 
-      content)
-    values (#{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, 
-      #{type,jdbcType=INTEGER}, #{ext,jdbcType=VARCHAR}, #{userToken,jdbcType=VARCHAR}, 
-      #{content,jdbcType=LONGVARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into message
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="title != null">
-        title,
-      </if>
-      <if test="pic != null">
-        pic,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="type != null">
-        type,
-      </if>
-      <if test="ext != null">
-        ext,
-      </if>
-      <if test="userToken != null">
-        user_token,
-      </if>
-      <if test="content != null">
-        content,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="title != null">
-        #{title,jdbcType=VARCHAR},
-      </if>
-      <if test="pic != null">
-        #{pic,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="type != null">
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="ext != null">
-        #{ext,jdbcType=VARCHAR},
-      </if>
-      <if test="userToken != null">
-        #{userToken,jdbcType=VARCHAR},
-      </if>
-      <if test="content != null">
-        #{content,jdbcType=LONGVARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.MessageExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    select count(*) from message
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.title != null">
-        title = #{record.title,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pic != null">
-        pic = #{record.pic,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.type != null">
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.ext != null">
-        ext = #{record.ext,jdbcType=VARCHAR},
-      </if>
-      <if test="record.userToken != null">
-        user_token = #{record.userToken,jdbcType=VARCHAR},
-      </if>
-      <if test="record.content != null">
-        content = #{record.content,jdbcType=LONGVARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExampleWithBLOBs" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    set id = #{record.id,jdbcType=INTEGER},
-      title = #{record.title,jdbcType=VARCHAR},
-      pic = #{record.pic,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      type = #{record.type,jdbcType=INTEGER},
-      ext = #{record.ext,jdbcType=VARCHAR},
-      user_token = #{record.userToken,jdbcType=VARCHAR},
-      content = #{record.content,jdbcType=LONGVARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    set id = #{record.id,jdbcType=INTEGER},
-      title = #{record.title,jdbcType=VARCHAR},
-      pic = #{record.pic,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      type = #{record.type,jdbcType=INTEGER},
-      ext = #{record.ext,jdbcType=VARCHAR},
-      user_token = #{record.userToken,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    <set>
-      <if test="title != null">
-        title = #{title,jdbcType=VARCHAR},
-      </if>
-      <if test="pic != null">
-        pic = #{pic,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="type != null">
-        type = #{type,jdbcType=INTEGER},
-      </if>
-      <if test="ext != null">
-        ext = #{ext,jdbcType=VARCHAR},
-      </if>
-      <if test="userToken != null">
-        user_token = #{userToken,jdbcType=VARCHAR},
-      </if>
-      <if test="content != null">
-        content = #{content,jdbcType=LONGVARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    set title = #{title,jdbcType=VARCHAR},
-      pic = #{pic,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      type = #{type,jdbcType=INTEGER},
-      ext = #{ext,jdbcType=VARCHAR},
-      user_token = #{userToken,jdbcType=VARCHAR},
-      content = #{content,jdbcType=LONGVARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Message">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 19:30:51 CST 2017.
-    -->
-    update message
-    set title = #{title,jdbcType=VARCHAR},
-      pic = #{pic,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      type = #{type,jdbcType=INTEGER},
-      ext = #{ext,jdbcType=VARCHAR},
-      user_token = #{userToken,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/ParkOrderMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.ParkOrder;
-import com.js.kbt.model.ParkOrderExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface ParkOrderMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int countByExample(ParkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int deleteByExample(ParkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int insert(ParkOrder record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int insertSelective(ParkOrder record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	List<ParkOrder> selectByExample(ParkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	ParkOrder selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") ParkOrder record,
-			@Param("example") ParkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int updateByExample(@Param("record") ParkOrder record,
-			@Param("example") ParkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int updateByPrimaryKeySelective(ParkOrder record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table park_order
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	int updateByPrimaryKey(ParkOrder record);
-}

+ 0 - 523
cloud-socket/src/com/js/kbt/mapper/ParkOrderMapper.xml

@@ -1,523 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.ParkOrderMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.ParkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="order_identity" jdbcType="VARCHAR" property="orderIdentity" />
-    <result column="identity" jdbcType="VARCHAR" property="identity" />
-    <result column="order_type" jdbcType="INTEGER" property="orderType" />
-    <result column="startTime" jdbcType="TIMESTAMP" property="starttime" />
-    <result column="endTime" jdbcType="TIMESTAMP" property="endtime" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-    <result column="cost" jdbcType="INTEGER" property="cost" />
-    <result column="rule" jdbcType="VARCHAR" property="rule" />
-    <result column="discount" jdbcType="DOUBLE" property="discount" />
-    <result column="useCoupon" jdbcType="BIT" property="usecoupon" />
-    <result column="coupon_no" jdbcType="VARCHAR" property="couponNo" />
-    <result column="memo" jdbcType="VARCHAR" property="memo" />
-    <result column="address" jdbcType="VARCHAR" property="address" />
-    <result column="lng" jdbcType="DOUBLE" property="lng" />
-    <result column="lat" jdbcType="DOUBLE" property="lat" />
-    <result column="cost_origin" jdbcType="INTEGER" property="costOrigin" />
-    <result column="user_income" jdbcType="INTEGER" property="userIncome" />
-    <result column="com_income" jdbcType="INTEGER" property="comIncome" />
-    <result column="plat_income" jdbcType="INTEGER" property="platIncome" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    id, order_identity, identity, order_type, startTime, endTime, user_id, cost, rule, 
-    discount, useCoupon, coupon_no, memo, address, lng, lat, cost_origin, user_income, 
-    com_income, plat_income
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.ParkOrderExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from park_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from park_order
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    delete from park_order
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.ParkOrderExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    delete from park_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.ParkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into park_order (order_identity, identity, order_type, 
-      startTime, endTime, user_id, 
-      cost, rule, discount, 
-      useCoupon, coupon_no, memo, 
-      address, lng, lat, cost_origin, 
-      user_income, com_income, plat_income
-      )
-    values (#{orderIdentity,jdbcType=VARCHAR}, #{identity,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, 
-      #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, #{userId,jdbcType=INTEGER}, 
-      #{cost,jdbcType=INTEGER}, #{rule,jdbcType=VARCHAR}, #{discount,jdbcType=DOUBLE}, 
-      #{usecoupon,jdbcType=BIT}, #{couponNo,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
-      #{address,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, #{lat,jdbcType=DOUBLE}, #{costOrigin,jdbcType=INTEGER}, 
-      #{userIncome,jdbcType=INTEGER}, #{comIncome,jdbcType=INTEGER}, #{platIncome,jdbcType=INTEGER}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.ParkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into park_order
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="orderIdentity != null">
-        order_identity,
-      </if>
-      <if test="identity != null">
-        identity,
-      </if>
-      <if test="orderType != null">
-        order_type,
-      </if>
-      <if test="starttime != null">
-        startTime,
-      </if>
-      <if test="endtime != null">
-        endTime,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="cost != null">
-        cost,
-      </if>
-      <if test="rule != null">
-        rule,
-      </if>
-      <if test="discount != null">
-        discount,
-      </if>
-      <if test="usecoupon != null">
-        useCoupon,
-      </if>
-      <if test="couponNo != null">
-        coupon_no,
-      </if>
-      <if test="memo != null">
-        memo,
-      </if>
-      <if test="address != null">
-        address,
-      </if>
-      <if test="lng != null">
-        lng,
-      </if>
-      <if test="lat != null">
-        lat,
-      </if>
-      <if test="costOrigin != null">
-        cost_origin,
-      </if>
-      <if test="userIncome != null">
-        user_income,
-      </if>
-      <if test="comIncome != null">
-        com_income,
-      </if>
-      <if test="platIncome != null">
-        plat_income,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="orderIdentity != null">
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null">
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="orderType != null">
-        #{orderType,jdbcType=INTEGER},
-      </if>
-      <if test="starttime != null">
-        #{starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endtime != null">
-        #{endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="cost != null">
-        #{cost,jdbcType=INTEGER},
-      </if>
-      <if test="rule != null">
-        #{rule,jdbcType=VARCHAR},
-      </if>
-      <if test="discount != null">
-        #{discount,jdbcType=DOUBLE},
-      </if>
-      <if test="usecoupon != null">
-        #{usecoupon,jdbcType=BIT},
-      </if>
-      <if test="couponNo != null">
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="lng != null">
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="lat != null">
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="costOrigin != null">
-        #{costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null">
-        #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null">
-        #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platIncome != null">
-        #{platIncome,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.ParkOrderExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    select count(*) from park_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    update park_order
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.orderIdentity != null">
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.identity != null">
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderType != null">
-        order_type = #{record.orderType,jdbcType=INTEGER},
-      </if>
-      <if test="record.starttime != null">
-        startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endtime != null">
-        endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.cost != null">
-        cost = #{record.cost,jdbcType=INTEGER},
-      </if>
-      <if test="record.rule != null">
-        rule = #{record.rule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.discount != null">
-        discount = #{record.discount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.usecoupon != null">
-        useCoupon = #{record.usecoupon,jdbcType=BIT},
-      </if>
-      <if test="record.couponNo != null">
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null">
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null">
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.lng != null">
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lat != null">
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.costOrigin != null">
-        cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="record.userIncome != null">
-        user_income = #{record.userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.comIncome != null">
-        com_income = #{record.comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.platIncome != null">
-        plat_income = #{record.platIncome,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    update park_order
-    set id = #{record.id,jdbcType=INTEGER},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      order_type = #{record.orderType,jdbcType=INTEGER},
-      startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      cost = #{record.cost,jdbcType=INTEGER},
-      rule = #{record.rule,jdbcType=VARCHAR},
-      discount = #{record.discount,jdbcType=DOUBLE},
-      useCoupon = #{record.usecoupon,jdbcType=BIT},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      user_income = #{record.userIncome,jdbcType=INTEGER},
-      com_income = #{record.comIncome,jdbcType=INTEGER},
-      plat_income = #{record.platIncome,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.ParkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    update park_order
-    <set>
-      <if test="orderIdentity != null">
-        order_identity = #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null">
-        identity = #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="orderType != null">
-        order_type = #{orderType,jdbcType=INTEGER},
-      </if>
-      <if test="starttime != null">
-        startTime = #{starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endtime != null">
-        endTime = #{endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="cost != null">
-        cost = #{cost,jdbcType=INTEGER},
-      </if>
-      <if test="rule != null">
-        rule = #{rule,jdbcType=VARCHAR},
-      </if>
-      <if test="discount != null">
-        discount = #{discount,jdbcType=DOUBLE},
-      </if>
-      <if test="usecoupon != null">
-        useCoupon = #{usecoupon,jdbcType=BIT},
-      </if>
-      <if test="couponNo != null">
-        coupon_no = #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        memo = #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        address = #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="lng != null">
-        lng = #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="lat != null">
-        lat = #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="costOrigin != null">
-        cost_origin = #{costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null">
-        user_income = #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null">
-        com_income = #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platIncome != null">
-        plat_income = #{platIncome,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.ParkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:37:35 CST 2017.
-    -->
-    update park_order
-    set order_identity = #{orderIdentity,jdbcType=VARCHAR},
-      identity = #{identity,jdbcType=VARCHAR},
-      order_type = #{orderType,jdbcType=INTEGER},
-      startTime = #{starttime,jdbcType=TIMESTAMP},
-      endTime = #{endtime,jdbcType=TIMESTAMP},
-      user_id = #{userId,jdbcType=INTEGER},
-      cost = #{cost,jdbcType=INTEGER},
-      rule = #{rule,jdbcType=VARCHAR},
-      discount = #{discount,jdbcType=DOUBLE},
-      useCoupon = #{usecoupon,jdbcType=BIT},
-      coupon_no = #{couponNo,jdbcType=VARCHAR},
-      memo = #{memo,jdbcType=VARCHAR},
-      address = #{address,jdbcType=VARCHAR},
-      lng = #{lng,jdbcType=DOUBLE},
-      lat = #{lat,jdbcType=DOUBLE},
-      cost_origin = #{costOrigin,jdbcType=INTEGER},
-      user_income = #{userIncome,jdbcType=INTEGER},
-      com_income = #{comIncome,jdbcType=INTEGER},
-      plat_income = #{platIncome,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 75
cloud-socket/src/com/js/kbt/mapper/ParkingPointMapper.java

@@ -1,75 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.ParkingPoint;
-import com.js.kbt.model.ParkingPointExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface ParkingPointMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	long countByExample(ParkingPointExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int deleteByExample(ParkingPointExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int insert(ParkingPoint record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int insertSelective(ParkingPoint record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	List<ParkingPoint> selectByExample(ParkingPointExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	ParkingPoint selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") ParkingPoint record, @Param("example") ParkingPointExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int updateByExample(@Param("record") ParkingPoint record, @Param("example") ParkingPointExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int updateByPrimaryKeySelective(ParkingPoint record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parking_point
-	 * @mbg.generated  Tue Nov 07 15:07:10 CST 2017
-	 */
-	int updateByPrimaryKey(ParkingPoint record);
-}

+ 0 - 760
cloud-socket/src/com/js/kbt/mapper/ParkingPointMapper.xml

@@ -1,760 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.ParkingPointMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.ParkingPoint">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="lat" jdbcType="DOUBLE" property="lat" />
-    <result column="lng" jdbcType="DOUBLE" property="lng" />
-    <result column="geo" jdbcType="VARCHAR" property="geo" />
-    <result column="distance" jdbcType="DOUBLE" property="distance" />
-    <result column="identity" jdbcType="VARCHAR" property="identity" />
-    <result column="charge" jdbcType="INTEGER" property="charge" />
-    <result column="charge_rule" jdbcType="INTEGER" property="chargeRule" />
-    <result column="available" jdbcType="BIT" property="available" />
-    <result column="last_occupier_id" jdbcType="INTEGER" property="lastOccupierId" />
-    <result column="share_user_id" jdbcType="INTEGER" property="shareUserId" />
-    <result column="share_mobile" jdbcType="VARCHAR" property="shareMobile" />
-    <result column="book_time" jdbcType="TIMESTAMP" property="bookTime" />
-    <result column="address" jdbcType="VARCHAR" property="address" />
-    <result column="preferential" jdbcType="VARCHAR" property="preferential" />
-    <result column="memo" jdbcType="VARCHAR" property="memo" />
-    <result column="start_date" jdbcType="VARCHAR" property="startDate" />
-    <result column="end_date" jdbcType="VARCHAR" property="endDate" />
-    <result column="start_time" jdbcType="VARCHAR" property="startTime" />
-    <result column="end_time" jdbcType="VARCHAR" property="endTime" />
-    <result column="sms" jdbcType="VARCHAR" property="sms" />
-    <result column="code" jdbcType="INTEGER" property="code" />
-    <result column="charge_type" jdbcType="INTEGER" property="chargeType" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-    <result column="community_id" jdbcType="INTEGER" property="communityId" />
-    <result column="share" jdbcType="INTEGER" property="share" />
-    <result column="setup" jdbcType="INTEGER" property="setup" />
-    <result column="status" jdbcType="INTEGER" property="status" />
-    <result column="free_time" jdbcType="INTEGER" property="freeTime" />
-    <result column="type" jdbcType="INTEGER" property="type" />
-    <result column="user_income" jdbcType="INTEGER" property="userIncome" />
-    <result column="com_income" jdbcType="INTEGER" property="comIncome" />
-    <result column="platfrom_income" jdbcType="INTEGER" property="platfromIncome" />
-    <result column="point_state" jdbcType="INTEGER" property="pointState" />
-    <result column="battery" jdbcType="REAL" property="battery" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    id, lat, lng, geo, distance, identity, charge, charge_rule, available, last_occupier_id, 
-    share_user_id, share_mobile, book_time, address, preferential, memo, start_date, 
-    end_date, start_time, end_time, sms, code, charge_type, user_id, community_id, share, 
-    setup, status, free_time, type, user_income, com_income, platfrom_income, point_state, 
-    battery
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.ParkingPointExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from parking_point
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from parking_point
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    delete from parking_point
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.ParkingPointExample">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    delete from parking_point
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.ParkingPoint">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into parking_point (lat, lng, geo, 
-      distance, identity, charge, 
-      charge_rule, available, last_occupier_id, 
-      share_user_id, share_mobile, book_time, 
-      address, preferential, memo, 
-      start_date, end_date, start_time, 
-      end_time, sms, code, 
-      charge_type, user_id, community_id, 
-      share, setup, status, 
-      free_time, type, user_income, 
-      com_income, platfrom_income, point_state, 
-      battery)
-    values (#{lat,jdbcType=DOUBLE}, #{lng,jdbcType=DOUBLE}, #{geo,jdbcType=VARCHAR}, 
-      #{distance,jdbcType=DOUBLE}, #{identity,jdbcType=VARCHAR}, #{charge,jdbcType=INTEGER}, 
-      #{chargeRule,jdbcType=INTEGER}, #{available,jdbcType=BIT}, #{lastOccupierId,jdbcType=INTEGER}, 
-      #{shareUserId,jdbcType=INTEGER}, #{shareMobile,jdbcType=VARCHAR}, #{bookTime,jdbcType=TIMESTAMP}, 
-      #{address,jdbcType=VARCHAR}, #{preferential,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
-      #{startDate,jdbcType=VARCHAR}, #{endDate,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR}, 
-      #{endTime,jdbcType=VARCHAR}, #{sms,jdbcType=VARCHAR}, #{code,jdbcType=INTEGER}, 
-      #{chargeType,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, 
-      #{share,jdbcType=INTEGER}, #{setup,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, 
-      #{freeTime,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{userIncome,jdbcType=INTEGER}, 
-      #{comIncome,jdbcType=INTEGER}, #{platfromIncome,jdbcType=INTEGER}, #{pointState,jdbcType=INTEGER}, 
-      #{battery,jdbcType=REAL})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.ParkingPoint">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into parking_point
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="lat != null">
-        lat,
-      </if>
-      <if test="lng != null">
-        lng,
-      </if>
-      <if test="geo != null">
-        geo,
-      </if>
-      <if test="distance != null">
-        distance,
-      </if>
-      <if test="identity != null">
-        identity,
-      </if>
-      <if test="charge != null">
-        charge,
-      </if>
-      <if test="chargeRule != null">
-        charge_rule,
-      </if>
-      <if test="available != null">
-        available,
-      </if>
-      <if test="lastOccupierId != null">
-        last_occupier_id,
-      </if>
-      <if test="shareUserId != null">
-        share_user_id,
-      </if>
-      <if test="shareMobile != null">
-        share_mobile,
-      </if>
-      <if test="bookTime != null">
-        book_time,
-      </if>
-      <if test="address != null">
-        address,
-      </if>
-      <if test="preferential != null">
-        preferential,
-      </if>
-      <if test="memo != null">
-        memo,
-      </if>
-      <if test="startDate != null">
-        start_date,
-      </if>
-      <if test="endDate != null">
-        end_date,
-      </if>
-      <if test="startTime != null">
-        start_time,
-      </if>
-      <if test="endTime != null">
-        end_time,
-      </if>
-      <if test="sms != null">
-        sms,
-      </if>
-      <if test="code != null">
-        code,
-      </if>
-      <if test="chargeType != null">
-        charge_type,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="communityId != null">
-        community_id,
-      </if>
-      <if test="share != null">
-        share,
-      </if>
-      <if test="setup != null">
-        setup,
-      </if>
-      <if test="status != null">
-        status,
-      </if>
-      <if test="freeTime != null">
-        free_time,
-      </if>
-      <if test="type != null">
-        type,
-      </if>
-      <if test="userIncome != null">
-        user_income,
-      </if>
-      <if test="comIncome != null">
-        com_income,
-      </if>
-      <if test="platfromIncome != null">
-        platfrom_income,
-      </if>
-      <if test="pointState != null">
-        point_state,
-      </if>
-      <if test="battery != null">
-        battery,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="lat != null">
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="lng != null">
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="geo != null">
-        #{geo,jdbcType=VARCHAR},
-      </if>
-      <if test="distance != null">
-        #{distance,jdbcType=DOUBLE},
-      </if>
-      <if test="identity != null">
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="charge != null">
-        #{charge,jdbcType=INTEGER},
-      </if>
-      <if test="chargeRule != null">
-        #{chargeRule,jdbcType=INTEGER},
-      </if>
-      <if test="available != null">
-        #{available,jdbcType=BIT},
-      </if>
-      <if test="lastOccupierId != null">
-        #{lastOccupierId,jdbcType=INTEGER},
-      </if>
-      <if test="shareUserId != null">
-        #{shareUserId,jdbcType=INTEGER},
-      </if>
-      <if test="shareMobile != null">
-        #{shareMobile,jdbcType=VARCHAR},
-      </if>
-      <if test="bookTime != null">
-        #{bookTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="address != null">
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="preferential != null">
-        #{preferential,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="startDate != null">
-        #{startDate,jdbcType=VARCHAR},
-      </if>
-      <if test="endDate != null">
-        #{endDate,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null">
-        #{startTime,jdbcType=VARCHAR},
-      </if>
-      <if test="endTime != null">
-        #{endTime,jdbcType=VARCHAR},
-      </if>
-      <if test="sms != null">
-        #{sms,jdbcType=VARCHAR},
-      </if>
-      <if test="code != null">
-        #{code,jdbcType=INTEGER},
-      </if>
-      <if test="chargeType != null">
-        #{chargeType,jdbcType=INTEGER},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="communityId != null">
-        #{communityId,jdbcType=INTEGER},
-      </if>
-      <if test="share != null">
-        #{share,jdbcType=INTEGER},
-      </if>
-      <if test="setup != null">
-        #{setup,jdbcType=INTEGER},
-      </if>
-      <if test="status != null">
-        #{status,jdbcType=INTEGER},
-      </if>
-      <if test="freeTime != null">
-        #{freeTime,jdbcType=INTEGER},
-      </if>
-      <if test="type != null">
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null">
-        #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null">
-        #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platfromIncome != null">
-        #{platfromIncome,jdbcType=INTEGER},
-      </if>
-      <if test="pointState != null">
-        #{pointState,jdbcType=INTEGER},
-      </if>
-      <if test="battery != null">
-        #{battery,jdbcType=REAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.ParkingPointExample" resultType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    select count(*) from parking_point
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    update parking_point
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.lat != null">
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lng != null">
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.geo != null">
-        geo = #{record.geo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.distance != null">
-        distance = #{record.distance,jdbcType=DOUBLE},
-      </if>
-      <if test="record.identity != null">
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.charge != null">
-        charge = #{record.charge,jdbcType=INTEGER},
-      </if>
-      <if test="record.chargeRule != null">
-        charge_rule = #{record.chargeRule,jdbcType=INTEGER},
-      </if>
-      <if test="record.available != null">
-        available = #{record.available,jdbcType=BIT},
-      </if>
-      <if test="record.lastOccupierId != null">
-        last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
-      </if>
-      <if test="record.shareUserId != null">
-        share_user_id = #{record.shareUserId,jdbcType=INTEGER},
-      </if>
-      <if test="record.shareMobile != null">
-        share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.bookTime != null">
-        book_time = #{record.bookTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.address != null">
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.preferential != null">
-        preferential = #{record.preferential,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null">
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startDate != null">
-        start_date = #{record.startDate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.endDate != null">
-        end_date = #{record.endDate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startTime != null">
-        start_time = #{record.startTime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.endTime != null">
-        end_time = #{record.endTime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sms != null">
-        sms = #{record.sms,jdbcType=VARCHAR},
-      </if>
-      <if test="record.code != null">
-        code = #{record.code,jdbcType=INTEGER},
-      </if>
-      <if test="record.chargeType != null">
-        charge_type = #{record.chargeType,jdbcType=INTEGER},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.communityId != null">
-        community_id = #{record.communityId,jdbcType=INTEGER},
-      </if>
-      <if test="record.share != null">
-        share = #{record.share,jdbcType=INTEGER},
-      </if>
-      <if test="record.setup != null">
-        setup = #{record.setup,jdbcType=INTEGER},
-      </if>
-      <if test="record.status != null">
-        status = #{record.status,jdbcType=INTEGER},
-      </if>
-      <if test="record.freeTime != null">
-        free_time = #{record.freeTime,jdbcType=INTEGER},
-      </if>
-      <if test="record.type != null">
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.userIncome != null">
-        user_income = #{record.userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.comIncome != null">
-        com_income = #{record.comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.platfromIncome != null">
-        platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.pointState != null">
-        point_state = #{record.pointState,jdbcType=INTEGER},
-      </if>
-      <if test="record.battery != null">
-        battery = #{record.battery,jdbcType=REAL},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    update parking_point
-    set id = #{record.id,jdbcType=INTEGER},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      geo = #{record.geo,jdbcType=VARCHAR},
-      distance = #{record.distance,jdbcType=DOUBLE},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      charge = #{record.charge,jdbcType=INTEGER},
-      charge_rule = #{record.chargeRule,jdbcType=INTEGER},
-      available = #{record.available,jdbcType=BIT},
-      last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
-      share_user_id = #{record.shareUserId,jdbcType=INTEGER},
-      share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
-      book_time = #{record.bookTime,jdbcType=TIMESTAMP},
-      address = #{record.address,jdbcType=VARCHAR},
-      preferential = #{record.preferential,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      start_date = #{record.startDate,jdbcType=VARCHAR},
-      end_date = #{record.endDate,jdbcType=VARCHAR},
-      start_time = #{record.startTime,jdbcType=VARCHAR},
-      end_time = #{record.endTime,jdbcType=VARCHAR},
-      sms = #{record.sms,jdbcType=VARCHAR},
-      code = #{record.code,jdbcType=INTEGER},
-      charge_type = #{record.chargeType,jdbcType=INTEGER},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      community_id = #{record.communityId,jdbcType=INTEGER},
-      share = #{record.share,jdbcType=INTEGER},
-      setup = #{record.setup,jdbcType=INTEGER},
-      status = #{record.status,jdbcType=INTEGER},
-      free_time = #{record.freeTime,jdbcType=INTEGER},
-      type = #{record.type,jdbcType=INTEGER},
-      user_income = #{record.userIncome,jdbcType=INTEGER},
-      com_income = #{record.comIncome,jdbcType=INTEGER},
-      platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
-      point_state = #{record.pointState,jdbcType=INTEGER},
-      battery = #{record.battery,jdbcType=REAL}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.ParkingPoint">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    update parking_point
-    <set>
-      <if test="lat != null">
-        lat = #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="lng != null">
-        lng = #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="geo != null">
-        geo = #{geo,jdbcType=VARCHAR},
-      </if>
-      <if test="distance != null">
-        distance = #{distance,jdbcType=DOUBLE},
-      </if>
-      <if test="identity != null">
-        identity = #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="charge != null">
-        charge = #{charge,jdbcType=INTEGER},
-      </if>
-      <if test="chargeRule != null">
-        charge_rule = #{chargeRule,jdbcType=INTEGER},
-      </if>
-      <if test="available != null">
-        available = #{available,jdbcType=BIT},
-      </if>
-      <if test="lastOccupierId != null">
-        last_occupier_id = #{lastOccupierId,jdbcType=INTEGER},
-      </if>
-      <if test="shareUserId != null">
-        share_user_id = #{shareUserId,jdbcType=INTEGER},
-      </if>
-      <if test="shareMobile != null">
-        share_mobile = #{shareMobile,jdbcType=VARCHAR},
-      </if>
-      <if test="bookTime != null">
-        book_time = #{bookTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="address != null">
-        address = #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="preferential != null">
-        preferential = #{preferential,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        memo = #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="startDate != null">
-        start_date = #{startDate,jdbcType=VARCHAR},
-      </if>
-      <if test="endDate != null">
-        end_date = #{endDate,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null">
-        start_time = #{startTime,jdbcType=VARCHAR},
-      </if>
-      <if test="endTime != null">
-        end_time = #{endTime,jdbcType=VARCHAR},
-      </if>
-      <if test="sms != null">
-        sms = #{sms,jdbcType=VARCHAR},
-      </if>
-      <if test="code != null">
-        code = #{code,jdbcType=INTEGER},
-      </if>
-      <if test="chargeType != null">
-        charge_type = #{chargeType,jdbcType=INTEGER},
-      </if>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="communityId != null">
-        community_id = #{communityId,jdbcType=INTEGER},
-      </if>
-      <if test="share != null">
-        share = #{share,jdbcType=INTEGER},
-      </if>
-      <if test="setup != null">
-        setup = #{setup,jdbcType=INTEGER},
-      </if>
-      <if test="status != null">
-        status = #{status,jdbcType=INTEGER},
-      </if>
-      <if test="freeTime != null">
-        free_time = #{freeTime,jdbcType=INTEGER},
-      </if>
-      <if test="type != null">
-        type = #{type,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null">
-        user_income = #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null">
-        com_income = #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platfromIncome != null">
-        platfrom_income = #{platfromIncome,jdbcType=INTEGER},
-      </if>
-      <if test="pointState != null">
-        point_state = #{pointState,jdbcType=INTEGER},
-      </if>
-      <if test="battery != null">
-        battery = #{battery,jdbcType=REAL},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.ParkingPoint">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 07 15:07:10 CST 2017.
-    -->
-    update parking_point
-    set lat = #{lat,jdbcType=DOUBLE},
-      lng = #{lng,jdbcType=DOUBLE},
-      geo = #{geo,jdbcType=VARCHAR},
-      distance = #{distance,jdbcType=DOUBLE},
-      identity = #{identity,jdbcType=VARCHAR},
-      charge = #{charge,jdbcType=INTEGER},
-      charge_rule = #{chargeRule,jdbcType=INTEGER},
-      available = #{available,jdbcType=BIT},
-      last_occupier_id = #{lastOccupierId,jdbcType=INTEGER},
-      share_user_id = #{shareUserId,jdbcType=INTEGER},
-      share_mobile = #{shareMobile,jdbcType=VARCHAR},
-      book_time = #{bookTime,jdbcType=TIMESTAMP},
-      address = #{address,jdbcType=VARCHAR},
-      preferential = #{preferential,jdbcType=VARCHAR},
-      memo = #{memo,jdbcType=VARCHAR},
-      start_date = #{startDate,jdbcType=VARCHAR},
-      end_date = #{endDate,jdbcType=VARCHAR},
-      start_time = #{startTime,jdbcType=VARCHAR},
-      end_time = #{endTime,jdbcType=VARCHAR},
-      sms = #{sms,jdbcType=VARCHAR},
-      code = #{code,jdbcType=INTEGER},
-      charge_type = #{chargeType,jdbcType=INTEGER},
-      user_id = #{userId,jdbcType=INTEGER},
-      community_id = #{communityId,jdbcType=INTEGER},
-      share = #{share,jdbcType=INTEGER},
-      setup = #{setup,jdbcType=INTEGER},
-      status = #{status,jdbcType=INTEGER},
-      free_time = #{freeTime,jdbcType=INTEGER},
-      type = #{type,jdbcType=INTEGER},
-      user_income = #{userIncome,jdbcType=INTEGER},
-      com_income = #{comIncome,jdbcType=INTEGER},
-      platfrom_income = #{platfromIncome,jdbcType=INTEGER},
-      point_state = #{pointState,jdbcType=INTEGER},
-      battery = #{battery,jdbcType=REAL}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/ParkingpointAppylMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.ParkingpointAppyl;
-import com.js.kbt.model.ParkingpointAppylExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface ParkingpointAppylMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int countByExample(ParkingpointAppylExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int deleteByExample(ParkingpointAppylExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int insert(ParkingpointAppyl record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int insertSelective(ParkingpointAppyl record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	List<ParkingpointAppyl> selectByExample(ParkingpointAppylExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	ParkingpointAppyl selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") ParkingpointAppyl record,
-			@Param("example") ParkingpointAppylExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int updateByExample(@Param("record") ParkingpointAppyl record,
-			@Param("example") ParkingpointAppylExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int updateByPrimaryKeySelective(ParkingpointAppyl record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	int updateByPrimaryKey(ParkingpointAppyl record);
-}

+ 0 - 333
cloud-socket/src/com/js/kbt/mapper/ParkingpointAppylMapper.xml

@@ -1,333 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.ParkingpointAppylMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.ParkingpointAppyl">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="name" jdbcType="VARCHAR" property="name" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-    <result column="addres" jdbcType="VARCHAR" property="addres" />
-    <result column="status" jdbcType="INTEGER" property="status" />
-    <result column="msg" jdbcType="VARCHAR" property="msg" />
-    <result column="comname" jdbcType="VARCHAR" property="comname" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    id, name, mobile, addres, status, msg, comname, user_id
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.ParkingpointAppylExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from parkingpoint_appyl
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from parkingpoint_appyl
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    delete from parkingpoint_appyl
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.ParkingpointAppylExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    delete from parkingpoint_appyl
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.ParkingpointAppyl">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into parkingpoint_appyl (name, mobile, addres, 
-      status, msg, comname, 
-      user_id)
-    values (#{name,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{addres,jdbcType=VARCHAR}, 
-      #{status,jdbcType=INTEGER}, #{msg,jdbcType=VARCHAR}, #{comname,jdbcType=VARCHAR}, 
-      #{userId,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.ParkingpointAppyl">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into parkingpoint_appyl
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="name != null">
-        name,
-      </if>
-      <if test="mobile != null">
-        mobile,
-      </if>
-      <if test="addres != null">
-        addres,
-      </if>
-      <if test="status != null">
-        status,
-      </if>
-      <if test="msg != null">
-        msg,
-      </if>
-      <if test="comname != null">
-        comname,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="name != null">
-        #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="addres != null">
-        #{addres,jdbcType=VARCHAR},
-      </if>
-      <if test="status != null">
-        #{status,jdbcType=INTEGER},
-      </if>
-      <if test="msg != null">
-        #{msg,jdbcType=VARCHAR},
-      </if>
-      <if test="comname != null">
-        #{comname,jdbcType=VARCHAR},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.ParkingpointAppylExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    select count(*) from parkingpoint_appyl
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    update parkingpoint_appyl
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.name != null">
-        name = #{record.name,jdbcType=VARCHAR},
-      </if>
-      <if test="record.mobile != null">
-        mobile = #{record.mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.addres != null">
-        addres = #{record.addres,jdbcType=VARCHAR},
-      </if>
-      <if test="record.status != null">
-        status = #{record.status,jdbcType=INTEGER},
-      </if>
-      <if test="record.msg != null">
-        msg = #{record.msg,jdbcType=VARCHAR},
-      </if>
-      <if test="record.comname != null">
-        comname = #{record.comname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    update parkingpoint_appyl
-    set id = #{record.id,jdbcType=INTEGER},
-      name = #{record.name,jdbcType=VARCHAR},
-      mobile = #{record.mobile,jdbcType=VARCHAR},
-      addres = #{record.addres,jdbcType=VARCHAR},
-      status = #{record.status,jdbcType=INTEGER},
-      msg = #{record.msg,jdbcType=VARCHAR},
-      comname = #{record.comname,jdbcType=VARCHAR},
-      user_id = #{record.userId,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.ParkingpointAppyl">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    update parkingpoint_appyl
-    <set>
-      <if test="name != null">
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="mobile != null">
-        mobile = #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="addres != null">
-        addres = #{addres,jdbcType=VARCHAR},
-      </if>
-      <if test="status != null">
-        status = #{status,jdbcType=INTEGER},
-      </if>
-      <if test="msg != null">
-        msg = #{msg,jdbcType=VARCHAR},
-      </if>
-      <if test="comname != null">
-        comname = #{comname,jdbcType=VARCHAR},
-      </if>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.ParkingpointAppyl">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:40:21 CST 2017.
-    -->
-    update parkingpoint_appyl
-    set name = #{name,jdbcType=VARCHAR},
-      mobile = #{mobile,jdbcType=VARCHAR},
-      addres = #{addres,jdbcType=VARCHAR},
-      status = #{status,jdbcType=INTEGER},
-      msg = #{msg,jdbcType=VARCHAR},
-      comname = #{comname,jdbcType=VARCHAR},
-      user_id = #{userId,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/PlatformMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Platform;
-import com.js.kbt.model.PlatformExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface PlatformMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int countByExample(PlatformExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int deleteByExample(PlatformExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int insert(Platform record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int insertSelective(Platform record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	List<Platform> selectByExample(PlatformExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	Platform selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Platform record,
-			@Param("example") PlatformExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int updateByExample(@Param("record") Platform record,
-			@Param("example") PlatformExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Platform record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	int updateByPrimaryKey(Platform record);
-}

+ 0 - 271
cloud-socket/src/com/js/kbt/mapper/PlatformMapper.xml

@@ -1,271 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.PlatformMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Platform">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="name" jdbcType="VARCHAR" property="name" />
-    <result column="count" jdbcType="VARCHAR" property="count" />
-    <result column="money" jdbcType="INTEGER" property="money" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    id, name, count, money
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.PlatformExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from platform
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from platform
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    delete from platform
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.PlatformExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    delete from platform
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Platform">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into platform (name, count, money
-      )
-    values (#{name,jdbcType=VARCHAR}, #{count,jdbcType=VARCHAR}, #{money,jdbcType=INTEGER}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Platform">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into platform
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="name != null">
-        name,
-      </if>
-      <if test="count != null">
-        count,
-      </if>
-      <if test="money != null">
-        money,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="name != null">
-        #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="count != null">
-        #{count,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        #{money,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.PlatformExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    select count(*) from platform
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    update platform
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.name != null">
-        name = #{record.name,jdbcType=VARCHAR},
-      </if>
-      <if test="record.count != null">
-        count = #{record.count,jdbcType=VARCHAR},
-      </if>
-      <if test="record.money != null">
-        money = #{record.money,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    update platform
-    set id = #{record.id,jdbcType=INTEGER},
-      name = #{record.name,jdbcType=VARCHAR},
-      count = #{record.count,jdbcType=VARCHAR},
-      money = #{record.money,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Platform">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    update platform
-    <set>
-      <if test="name != null">
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="count != null">
-        count = #{count,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        money = #{money,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Platform">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:44:29 CST 2017.
-    -->
-    update platform
-    set name = #{name,jdbcType=VARCHAR},
-      count = #{count,jdbcType=VARCHAR},
-      money = #{money,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/ShareDateMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.ShareDate;
-import com.js.kbt.model.ShareDateExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface ShareDateMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int countByExample(ShareDateExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int deleteByExample(ShareDateExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int insert(ShareDate record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int insertSelective(ShareDate record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	List<ShareDate> selectByExample(ShareDateExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	ShareDate selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") ShareDate record,
-			@Param("example") ShareDateExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int updateByExample(@Param("record") ShareDate record,
-			@Param("example") ShareDateExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int updateByPrimaryKeySelective(ShareDate record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	int updateByPrimaryKey(ShareDate record);
-}

+ 0 - 254
cloud-socket/src/com/js/kbt/mapper/ShareDateMapper.xml

@@ -1,254 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.ShareDateMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.ShareDate">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="park_identity" jdbcType="VARCHAR" property="parkIdentity" />
-    <result column="week_date" jdbcType="INTEGER" property="weekDate" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    id, park_identity, week_date
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.ShareDateExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from share_date
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from share_date
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    delete from share_date
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.ShareDateExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    delete from share_date
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.ShareDate">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into share_date (park_identity, week_date)
-    values (#{parkIdentity,jdbcType=VARCHAR}, #{weekDate,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.ShareDate">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into share_date
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="parkIdentity != null">
-        park_identity,
-      </if>
-      <if test="weekDate != null">
-        week_date,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="parkIdentity != null">
-        #{parkIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="weekDate != null">
-        #{weekDate,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.ShareDateExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    select count(*) from share_date
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    update share_date
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.parkIdentity != null">
-        park_identity = #{record.parkIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.weekDate != null">
-        week_date = #{record.weekDate,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    update share_date
-    set id = #{record.id,jdbcType=INTEGER},
-      park_identity = #{record.parkIdentity,jdbcType=VARCHAR},
-      week_date = #{record.weekDate,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.ShareDate">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    update share_date
-    <set>
-      <if test="parkIdentity != null">
-        park_identity = #{parkIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="weekDate != null">
-        week_date = #{weekDate,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.ShareDate">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Oct 25 09:21:18 CST 2017.
-    -->
-    update share_date
-    set park_identity = #{parkIdentity,jdbcType=VARCHAR},
-      week_date = #{weekDate,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 96 - 0
cloud-socket/src/com/js/kbt/mapper/TbUserMapper.java

@@ -0,0 +1,96 @@
+package com.js.kbt.mapper;
+
+import com.js.kbt.model.TbUser;
+import com.js.kbt.model.TbUserExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface TbUserMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    long countByExample(TbUserExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int deleteByExample(TbUserExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int deleteByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int insert(TbUser record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int insertSelective(TbUser record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    List<TbUser> selectByExample(TbUserExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    TbUser selectByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int updateByExampleSelective(@Param("record") TbUser record, @Param("example") TbUserExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int updateByExample(@Param("record") TbUser record, @Param("example") TbUserExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int updateByPrimaryKeySelective(TbUser record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table tb_user
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    int updateByPrimaryKey(TbUser record);
+}

+ 475 - 0
cloud-socket/src/com/js/kbt/mapper/TbUserMapper.xml

@@ -0,0 +1,475 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.js.kbt.mapper.TbUserMapper">
+  <resultMap id="BaseResultMap" type="com.js.kbt.model.TbUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="account" jdbcType="VARCHAR" property="account" />
+    <result column="username" jdbcType="VARCHAR" property="username" />
+    <result column="password" jdbcType="VARCHAR" property="password" />
+    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
+    <result column="role_type" jdbcType="INTEGER" property="roleType" />
+    <result column="company_id" jdbcType="INTEGER" property="companyId" />
+    <result column="parent_id" jdbcType="INTEGER" property="parentId" />
+    <result column="sex" jdbcType="INTEGER" property="sex" />
+    <result column="role_name" jdbcType="VARCHAR" property="roleName" />
+    <result column="work_state" jdbcType="INTEGER" property="workState" />
+    <result column="is_disable" jdbcType="INTEGER" property="isDisable" />
+    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
+    <result column="head_imgurl" jdbcType="VARCHAR" property="headImgurl" />
+    <result column="team_name" jdbcType="VARCHAR" property="teamName" />
+    <result column="subordinate_type" jdbcType="INTEGER" property="subordinateType" />
+    <result column="openid" jdbcType="VARCHAR" property="openid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    id, account, username, password, mobile, role_type, company_id, parent_id, sex, role_name, 
+    work_state, is_disable, indate, head_imgurl, team_name, subordinate_type, openid
+  </sql>
+  <select id="selectByExample" parameterType="com.js.kbt.model.TbUserExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from tb_user
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from tb_user
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    delete from tb_user
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.js.kbt.model.TbUserExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    delete from tb_user
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.js.kbt.model.TbUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
+      SELECT LAST_INSERT_ID()
+    </selectKey>
+    insert into tb_user (account, username, password, 
+      mobile, role_type, company_id, 
+      parent_id, sex, role_name, 
+      work_state, is_disable, indate, 
+      head_imgurl, team_name, subordinate_type, 
+      openid)
+    values (#{account,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, 
+      #{mobile,jdbcType=VARCHAR}, #{roleType,jdbcType=INTEGER}, #{companyId,jdbcType=INTEGER}, 
+      #{parentId,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{roleName,jdbcType=VARCHAR}, 
+      #{workState,jdbcType=INTEGER}, #{isDisable,jdbcType=INTEGER}, #{indate,jdbcType=TIMESTAMP}, 
+      #{headImgurl,jdbcType=VARCHAR}, #{teamName,jdbcType=VARCHAR}, #{subordinateType,jdbcType=INTEGER}, 
+      #{openid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.js.kbt.model.TbUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
+      SELECT LAST_INSERT_ID()
+    </selectKey>
+    insert into tb_user
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="account != null">
+        account,
+      </if>
+      <if test="username != null">
+        username,
+      </if>
+      <if test="password != null">
+        password,
+      </if>
+      <if test="mobile != null">
+        mobile,
+      </if>
+      <if test="roleType != null">
+        role_type,
+      </if>
+      <if test="companyId != null">
+        company_id,
+      </if>
+      <if test="parentId != null">
+        parent_id,
+      </if>
+      <if test="sex != null">
+        sex,
+      </if>
+      <if test="roleName != null">
+        role_name,
+      </if>
+      <if test="workState != null">
+        work_state,
+      </if>
+      <if test="isDisable != null">
+        is_disable,
+      </if>
+      <if test="indate != null">
+        indate,
+      </if>
+      <if test="headImgurl != null">
+        head_imgurl,
+      </if>
+      <if test="teamName != null">
+        team_name,
+      </if>
+      <if test="subordinateType != null">
+        subordinate_type,
+      </if>
+      <if test="openid != null">
+        openid,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="account != null">
+        #{account,jdbcType=VARCHAR},
+      </if>
+      <if test="username != null">
+        #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="password != null">
+        #{password,jdbcType=VARCHAR},
+      </if>
+      <if test="mobile != null">
+        #{mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="roleType != null">
+        #{roleType,jdbcType=INTEGER},
+      </if>
+      <if test="companyId != null">
+        #{companyId,jdbcType=INTEGER},
+      </if>
+      <if test="parentId != null">
+        #{parentId,jdbcType=INTEGER},
+      </if>
+      <if test="sex != null">
+        #{sex,jdbcType=INTEGER},
+      </if>
+      <if test="roleName != null">
+        #{roleName,jdbcType=VARCHAR},
+      </if>
+      <if test="workState != null">
+        #{workState,jdbcType=INTEGER},
+      </if>
+      <if test="isDisable != null">
+        #{isDisable,jdbcType=INTEGER},
+      </if>
+      <if test="indate != null">
+        #{indate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="headImgurl != null">
+        #{headImgurl,jdbcType=VARCHAR},
+      </if>
+      <if test="teamName != null">
+        #{teamName,jdbcType=VARCHAR},
+      </if>
+      <if test="subordinateType != null">
+        #{subordinateType,jdbcType=INTEGER},
+      </if>
+      <if test="openid != null">
+        #{openid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.js.kbt.model.TbUserExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    select count(*) from tb_user
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    update tb_user
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.account != null">
+        account = #{record.account,jdbcType=VARCHAR},
+      </if>
+      <if test="record.username != null">
+        username = #{record.username,jdbcType=VARCHAR},
+      </if>
+      <if test="record.password != null">
+        password = #{record.password,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mobile != null">
+        mobile = #{record.mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="record.roleType != null">
+        role_type = #{record.roleType,jdbcType=INTEGER},
+      </if>
+      <if test="record.companyId != null">
+        company_id = #{record.companyId,jdbcType=INTEGER},
+      </if>
+      <if test="record.parentId != null">
+        parent_id = #{record.parentId,jdbcType=INTEGER},
+      </if>
+      <if test="record.sex != null">
+        sex = #{record.sex,jdbcType=INTEGER},
+      </if>
+      <if test="record.roleName != null">
+        role_name = #{record.roleName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.workState != null">
+        work_state = #{record.workState,jdbcType=INTEGER},
+      </if>
+      <if test="record.isDisable != null">
+        is_disable = #{record.isDisable,jdbcType=INTEGER},
+      </if>
+      <if test="record.indate != null">
+        indate = #{record.indate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.headImgurl != null">
+        head_imgurl = #{record.headImgurl,jdbcType=VARCHAR},
+      </if>
+      <if test="record.teamName != null">
+        team_name = #{record.teamName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.subordinateType != null">
+        subordinate_type = #{record.subordinateType,jdbcType=INTEGER},
+      </if>
+      <if test="record.openid != null">
+        openid = #{record.openid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    update tb_user
+    set id = #{record.id,jdbcType=INTEGER},
+      account = #{record.account,jdbcType=VARCHAR},
+      username = #{record.username,jdbcType=VARCHAR},
+      password = #{record.password,jdbcType=VARCHAR},
+      mobile = #{record.mobile,jdbcType=VARCHAR},
+      role_type = #{record.roleType,jdbcType=INTEGER},
+      company_id = #{record.companyId,jdbcType=INTEGER},
+      parent_id = #{record.parentId,jdbcType=INTEGER},
+      sex = #{record.sex,jdbcType=INTEGER},
+      role_name = #{record.roleName,jdbcType=VARCHAR},
+      work_state = #{record.workState,jdbcType=INTEGER},
+      is_disable = #{record.isDisable,jdbcType=INTEGER},
+      indate = #{record.indate,jdbcType=TIMESTAMP},
+      head_imgurl = #{record.headImgurl,jdbcType=VARCHAR},
+      team_name = #{record.teamName,jdbcType=VARCHAR},
+      subordinate_type = #{record.subordinateType,jdbcType=INTEGER},
+      openid = #{record.openid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.TbUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    update tb_user
+    <set>
+      <if test="account != null">
+        account = #{account,jdbcType=VARCHAR},
+      </if>
+      <if test="username != null">
+        username = #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="password != null">
+        password = #{password,jdbcType=VARCHAR},
+      </if>
+      <if test="mobile != null">
+        mobile = #{mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="roleType != null">
+        role_type = #{roleType,jdbcType=INTEGER},
+      </if>
+      <if test="companyId != null">
+        company_id = #{companyId,jdbcType=INTEGER},
+      </if>
+      <if test="parentId != null">
+        parent_id = #{parentId,jdbcType=INTEGER},
+      </if>
+      <if test="sex != null">
+        sex = #{sex,jdbcType=INTEGER},
+      </if>
+      <if test="roleName != null">
+        role_name = #{roleName,jdbcType=VARCHAR},
+      </if>
+      <if test="workState != null">
+        work_state = #{workState,jdbcType=INTEGER},
+      </if>
+      <if test="isDisable != null">
+        is_disable = #{isDisable,jdbcType=INTEGER},
+      </if>
+      <if test="indate != null">
+        indate = #{indate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="headImgurl != null">
+        head_imgurl = #{headImgurl,jdbcType=VARCHAR},
+      </if>
+      <if test="teamName != null">
+        team_name = #{teamName,jdbcType=VARCHAR},
+      </if>
+      <if test="subordinateType != null">
+        subordinate_type = #{subordinateType,jdbcType=INTEGER},
+      </if>
+      <if test="openid != null">
+        openid = #{openid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.TbUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Thu Aug 08 16:22:07 CST 2019.
+    -->
+    update tb_user
+    set account = #{account,jdbcType=VARCHAR},
+      username = #{username,jdbcType=VARCHAR},
+      password = #{password,jdbcType=VARCHAR},
+      mobile = #{mobile,jdbcType=VARCHAR},
+      role_type = #{roleType,jdbcType=INTEGER},
+      company_id = #{companyId,jdbcType=INTEGER},
+      parent_id = #{parentId,jdbcType=INTEGER},
+      sex = #{sex,jdbcType=INTEGER},
+      role_name = #{roleName,jdbcType=VARCHAR},
+      work_state = #{workState,jdbcType=INTEGER},
+      is_disable = #{isDisable,jdbcType=INTEGER},
+      indate = #{indate,jdbcType=TIMESTAMP},
+      head_imgurl = #{headImgurl,jdbcType=VARCHAR},
+      team_name = #{teamName,jdbcType=VARCHAR},
+      subordinate_type = #{subordinateType,jdbcType=INTEGER},
+      openid = #{openid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/UserMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.User;
-import com.js.kbt.model.UserExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface UserMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int countByExample(UserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int deleteByExample(UserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int insert(User record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int insertSelective(User record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	List<User> selectByExample(UserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	User selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") User record,
-			@Param("example") UserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int updateByExample(@Param("record") User record,
-			@Param("example") UserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int updateByPrimaryKeySelective(User record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table user
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	int updateByPrimaryKey(User record);
-}

+ 0 - 443
cloud-socket/src/com/js/kbt/mapper/UserMapper.xml

@@ -1,443 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.UserMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.User">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-    <result column="avatar" jdbcType="VARCHAR" property="avatar" />
-    <result column="nickname" jdbcType="VARCHAR" property="nickname" />
-    <result column="token" jdbcType="VARCHAR" property="token" />
-    <result column="money" jdbcType="INTEGER" property="money" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="device_id" jdbcType="VARCHAR" property="deviceId" />
-    <result column="address" jdbcType="VARCHAR" property="address" />
-    <result column="income" jdbcType="INTEGER" property="income" />
-    <result column="car_no" jdbcType="VARCHAR" property="carNo" />
-    <result column="com_id" jdbcType="INTEGER" property="comId" />
-    <result column="count" jdbcType="VARCHAR" property="count" />
-    <result column="qr_code" jdbcType="VARCHAR" property="qrCode" />
-    <result column="is_owner" jdbcType="INTEGER" property="isOwner" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    id, mobile, avatar, nickname, token, money, indate, device_id, address, income, car_no, 
-    com_id, count, qr_code, is_owner
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.UserExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from user
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from user
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    delete from user
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.UserExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    delete from user
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.User">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into user (mobile, avatar, nickname, 
-      token, money, indate, 
-      device_id, address, income, 
-      car_no, com_id, count, 
-      qr_code, is_owner)
-    values (#{mobile,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, 
-      #{token,jdbcType=VARCHAR}, #{money,jdbcType=INTEGER}, #{indate,jdbcType=TIMESTAMP}, 
-      #{deviceId,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{income,jdbcType=INTEGER}, 
-      #{carNo,jdbcType=VARCHAR}, #{comId,jdbcType=INTEGER}, #{count,jdbcType=VARCHAR}, 
-      #{qrCode,jdbcType=VARCHAR}, #{isOwner,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.User">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into user
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="mobile != null">
-        mobile,
-      </if>
-      <if test="avatar != null">
-        avatar,
-      </if>
-      <if test="nickname != null">
-        nickname,
-      </if>
-      <if test="token != null">
-        token,
-      </if>
-      <if test="money != null">
-        money,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="deviceId != null">
-        device_id,
-      </if>
-      <if test="address != null">
-        address,
-      </if>
-      <if test="income != null">
-        income,
-      </if>
-      <if test="carNo != null">
-        car_no,
-      </if>
-      <if test="comId != null">
-        com_id,
-      </if>
-      <if test="count != null">
-        count,
-      </if>
-      <if test="qrCode != null">
-        qr_code,
-      </if>
-      <if test="isOwner != null">
-        is_owner,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="avatar != null">
-        #{avatar,jdbcType=VARCHAR},
-      </if>
-      <if test="nickname != null">
-        #{nickname,jdbcType=VARCHAR},
-      </if>
-      <if test="token != null">
-        #{token,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        #{money,jdbcType=INTEGER},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="deviceId != null">
-        #{deviceId,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="income != null">
-        #{income,jdbcType=INTEGER},
-      </if>
-      <if test="carNo != null">
-        #{carNo,jdbcType=VARCHAR},
-      </if>
-      <if test="comId != null">
-        #{comId,jdbcType=INTEGER},
-      </if>
-      <if test="count != null">
-        #{count,jdbcType=VARCHAR},
-      </if>
-      <if test="qrCode != null">
-        #{qrCode,jdbcType=VARCHAR},
-      </if>
-      <if test="isOwner != null">
-        #{isOwner,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.UserExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    select count(*) from user
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    update user
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.mobile != null">
-        mobile = #{record.mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.avatar != null">
-        avatar = #{record.avatar,jdbcType=VARCHAR},
-      </if>
-      <if test="record.nickname != null">
-        nickname = #{record.nickname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.token != null">
-        token = #{record.token,jdbcType=VARCHAR},
-      </if>
-      <if test="record.money != null">
-        money = #{record.money,jdbcType=INTEGER},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.deviceId != null">
-        device_id = #{record.deviceId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null">
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.income != null">
-        income = #{record.income,jdbcType=INTEGER},
-      </if>
-      <if test="record.carNo != null">
-        car_no = #{record.carNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.comId != null">
-        com_id = #{record.comId,jdbcType=INTEGER},
-      </if>
-      <if test="record.count != null">
-        count = #{record.count,jdbcType=VARCHAR},
-      </if>
-      <if test="record.qrCode != null">
-        qr_code = #{record.qrCode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.isOwner != null">
-        is_owner = #{record.isOwner,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    update user
-    set id = #{record.id,jdbcType=INTEGER},
-      mobile = #{record.mobile,jdbcType=VARCHAR},
-      avatar = #{record.avatar,jdbcType=VARCHAR},
-      nickname = #{record.nickname,jdbcType=VARCHAR},
-      token = #{record.token,jdbcType=VARCHAR},
-      money = #{record.money,jdbcType=INTEGER},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      device_id = #{record.deviceId,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      income = #{record.income,jdbcType=INTEGER},
-      car_no = #{record.carNo,jdbcType=VARCHAR},
-      com_id = #{record.comId,jdbcType=INTEGER},
-      count = #{record.count,jdbcType=VARCHAR},
-      qr_code = #{record.qrCode,jdbcType=VARCHAR},
-      is_owner = #{record.isOwner,jdbcType=INTEGER}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.User">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    update user
-    <set>
-      <if test="mobile != null">
-        mobile = #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="avatar != null">
-        avatar = #{avatar,jdbcType=VARCHAR},
-      </if>
-      <if test="nickname != null">
-        nickname = #{nickname,jdbcType=VARCHAR},
-      </if>
-      <if test="token != null">
-        token = #{token,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        money = #{money,jdbcType=INTEGER},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="deviceId != null">
-        device_id = #{deviceId,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        address = #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="income != null">
-        income = #{income,jdbcType=INTEGER},
-      </if>
-      <if test="carNo != null">
-        car_no = #{carNo,jdbcType=VARCHAR},
-      </if>
-      <if test="comId != null">
-        com_id = #{comId,jdbcType=INTEGER},
-      </if>
-      <if test="count != null">
-        count = #{count,jdbcType=VARCHAR},
-      </if>
-      <if test="qrCode != null">
-        qr_code = #{qrCode,jdbcType=VARCHAR},
-      </if>
-      <if test="isOwner != null">
-        is_owner = #{isOwner,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.User">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:39:10 CST 2017.
-    -->
-    update user
-    set mobile = #{mobile,jdbcType=VARCHAR},
-      avatar = #{avatar,jdbcType=VARCHAR},
-      nickname = #{nickname,jdbcType=VARCHAR},
-      token = #{token,jdbcType=VARCHAR},
-      money = #{money,jdbcType=INTEGER},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      device_id = #{deviceId,jdbcType=VARCHAR},
-      address = #{address,jdbcType=VARCHAR},
-      income = #{income,jdbcType=INTEGER},
-      car_no = #{carNo,jdbcType=VARCHAR},
-      com_id = #{comId,jdbcType=INTEGER},
-      count = #{count,jdbcType=VARCHAR},
-      qr_code = #{qrCode,jdbcType=VARCHAR},
-      is_owner = #{isOwner,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 96
cloud-socket/src/com/js/kbt/mapper/UserNumMapper.java

@@ -1,96 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.UserNum;
-import com.js.kbt.model.UserNumExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface UserNumMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int countByExample(UserNumExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int deleteByExample(UserNumExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int deleteByPrimaryKey(Integer id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int insert(UserNum record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int insertSelective(UserNum record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    List<UserNum> selectByExample(UserNumExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    UserNum selectByPrimaryKey(Integer id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") UserNum record, @Param("example") UserNumExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int updateByExample(@Param("record") UserNum record, @Param("example") UserNumExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int updateByPrimaryKeySelective(UserNum record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    int updateByPrimaryKey(UserNum record);
-}

+ 0 - 254
cloud-socket/src/com/js/kbt/mapper/UserNumMapper.xml

@@ -1,254 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.UserNumMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.UserNum" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    <id column="id" property="id" jdbcType="INTEGER" />
-    <result column="indate" property="indate" jdbcType="VARCHAR" />
-    <result column="sl" property="sl" jdbcType="INTEGER" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    id, indate, sl
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.UserNumExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from user_num
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from user_num
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    delete from user_num
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.UserNumExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    delete from user_num
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.UserNum" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    <selectKey resultType="java.lang.Integer" keyProperty="id" order="AFTER" >
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into user_num (indate, sl)
-    values (#{indate,jdbcType=VARCHAR}, #{sl,jdbcType=INTEGER})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.UserNum" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    <selectKey resultType="java.lang.Integer" keyProperty="id" order="AFTER" >
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into user_num
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="indate != null" >
-        indate,
-      </if>
-      <if test="sl != null" >
-        sl,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="indate != null" >
-        #{indate,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null" >
-        #{sl,jdbcType=INTEGER},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.UserNumExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    select count(*) from user_num
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    update user_num
-    <set >
-      <if test="record.id != null" >
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.indate != null" >
-        indate = #{record.indate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sl != null" >
-        sl = #{record.sl,jdbcType=INTEGER},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    update user_num
-    set id = #{record.id,jdbcType=INTEGER},
-      indate = #{record.indate,jdbcType=VARCHAR},
-      sl = #{record.sl,jdbcType=INTEGER}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.UserNum" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    update user_num
-    <set >
-      <if test="indate != null" >
-        indate = #{indate,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null" >
-        sl = #{sl,jdbcType=INTEGER},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.UserNum" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Nov 21 11:22:20 CST 2017.
-    -->
-    update user_num
-    set indate = #{indate,jdbcType=VARCHAR},
-      sl = #{sl,jdbcType=INTEGER}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/VcodeMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Vcode;
-import com.js.kbt.model.VcodeExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VcodeMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int countByExample(VcodeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int deleteByExample(VcodeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int insert(Vcode record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int insertSelective(Vcode record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	List<Vcode> selectByExample(VcodeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	Vcode selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Vcode record,
-			@Param("example") VcodeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int updateByExample(@Param("record") Vcode record,
-			@Param("example") VcodeExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Vcode record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	int updateByPrimaryKey(Vcode record);
-}

+ 0 - 271
cloud-socket/src/com/js/kbt/mapper/VcodeMapper.xml

@@ -1,271 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.VcodeMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Vcode">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-    <result column="vcode" jdbcType="VARCHAR" property="vcode" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    id, mobile, vcode, indate
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.VcodeExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vcode
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from vcode
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    delete from vcode
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VcodeExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    delete from vcode
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Vcode">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into vcode (mobile, vcode, indate
-      )
-    values (#{mobile,jdbcType=VARCHAR}, #{vcode,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Vcode">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into vcode
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="mobile != null">
-        mobile,
-      </if>
-      <if test="vcode != null">
-        vcode,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="vcode != null">
-        #{vcode,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VcodeExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    select count(*) from vcode
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    update vcode
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.mobile != null">
-        mobile = #{record.mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.vcode != null">
-        vcode = #{record.vcode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    update vcode
-    set id = #{record.id,jdbcType=INTEGER},
-      mobile = #{record.mobile,jdbcType=VARCHAR},
-      vcode = #{record.vcode,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Vcode">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    update vcode
-    <set>
-      <if test="mobile != null">
-        mobile = #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="vcode != null">
-        vcode = #{vcode,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Vcode">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Tue Jul 04 16:24:58 CST 2017.
-    -->
-    update vcode
-    set mobile = #{mobile,jdbcType=VARCHAR},
-      vcode = #{vcode,jdbcType=VARCHAR},
-      indate = #{indate,jdbcType=TIMESTAMP}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 53
cloud-socket/src/com/js/kbt/mapper/VcouponMapper.java

@@ -1,53 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Vcoupon;
-import com.js.kbt.model.VcouponExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VcouponMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int countByExample(VcouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int deleteByExample(VcouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int insert(Vcoupon record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int insertSelective(Vcoupon record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	List<Vcoupon> selectByExample(VcouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Vcoupon record,
-			@Param("example") VcouponExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcoupon
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	int updateByExample(@Param("record") Vcoupon record,
-			@Param("example") VcouponExample example);
-}

+ 0 - 396
cloud-socket/src/com/js/kbt/mapper/VcouponMapper.xml

@@ -1,396 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.VcouponMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Vcoupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    <result column="id" jdbcType="INTEGER" property="id" />
-    <result column="coupon_no" jdbcType="VARCHAR" property="couponNo" />
-    <result column="order_identity" jdbcType="VARCHAR" property="orderIdentity" />
-    <result column="type" jdbcType="INTEGER" property="type" />
-    <result column="ower_id" jdbcType="INTEGER" property="owerId" />
-    <result column="coupon_amount" jdbcType="INTEGER" property="couponAmount" />
-    <result column="coupon_rule" jdbcType="VARCHAR" property="couponRule" />
-    <result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
-    <result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
-    <result column="area_limit" jdbcType="VARCHAR" property="areaLimit" />
-    <result column="time_s" jdbcType="VARCHAR" property="timeS" />
-    <result column="time_e" jdbcType="VARCHAR" property="timeE" />
-    <result column="channel" jdbcType="VARCHAR" property="channel" />
-    <result column="title" jdbcType="VARCHAR" property="title" />
-    <result column="descp" jdbcType="VARCHAR" property="descp" />
-    <result column="memo" jdbcType="VARCHAR" property="memo" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="type_id" jdbcType="INTEGER" property="typeId" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    id, coupon_no, order_identity, type, ower_id, coupon_amount, coupon_rule, start_time, 
-    end_time, area_limit, time_s, time_e, channel, title, descp, memo, indate, type_id, 
-    mobile
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.VcouponExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vcoupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VcouponExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    delete from vcoupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Vcoupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into vcoupon (coupon_no, order_identity, type, 
-      ower_id, coupon_amount, coupon_rule, 
-      start_time, end_time, area_limit, 
-      time_s, time_e, channel, 
-      title, descp, memo, 
-      indate, type_id, mobile
-      )
-    values (#{couponNo,jdbcType=VARCHAR}, #{orderIdentity,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, 
-      #{owerId,jdbcType=INTEGER}, #{couponAmount,jdbcType=INTEGER}, #{couponRule,jdbcType=VARCHAR}, 
-      #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{areaLimit,jdbcType=VARCHAR}, 
-      #{timeS,jdbcType=VARCHAR}, #{timeE,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, 
-      #{title,jdbcType=VARCHAR}, #{descp,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
-      #{indate,jdbcType=TIMESTAMP}, #{typeId,jdbcType=INTEGER}, #{mobile,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Vcoupon">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into vcoupon
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="couponNo != null">
-        coupon_no,
-      </if>
-      <if test="orderIdentity != null">
-        order_identity,
-      </if>
-      <if test="type != null">
-        type,
-      </if>
-      <if test="owerId != null">
-        ower_id,
-      </if>
-      <if test="couponAmount != null">
-        coupon_amount,
-      </if>
-      <if test="couponRule != null">
-        coupon_rule,
-      </if>
-      <if test="startTime != null">
-        start_time,
-      </if>
-      <if test="endTime != null">
-        end_time,
-      </if>
-      <if test="areaLimit != null">
-        area_limit,
-      </if>
-      <if test="timeS != null">
-        time_s,
-      </if>
-      <if test="timeE != null">
-        time_e,
-      </if>
-      <if test="channel != null">
-        channel,
-      </if>
-      <if test="title != null">
-        title,
-      </if>
-      <if test="descp != null">
-        descp,
-      </if>
-      <if test="memo != null">
-        memo,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="typeId != null">
-        type_id,
-      </if>
-      <if test="mobile != null">
-        mobile,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="couponNo != null">
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="orderIdentity != null">
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="type != null">
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="owerId != null">
-        #{owerId,jdbcType=INTEGER},
-      </if>
-      <if test="couponAmount != null">
-        #{couponAmount,jdbcType=INTEGER},
-      </if>
-      <if test="couponRule != null">
-        #{couponRule,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null">
-        #{startTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endTime != null">
-        #{endTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="areaLimit != null">
-        #{areaLimit,jdbcType=VARCHAR},
-      </if>
-      <if test="timeS != null">
-        #{timeS,jdbcType=VARCHAR},
-      </if>
-      <if test="timeE != null">
-        #{timeE,jdbcType=VARCHAR},
-      </if>
-      <if test="channel != null">
-        #{channel,jdbcType=VARCHAR},
-      </if>
-      <if test="title != null">
-        #{title,jdbcType=VARCHAR},
-      </if>
-      <if test="descp != null">
-        #{descp,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="typeId != null">
-        #{typeId,jdbcType=INTEGER},
-      </if>
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VcouponExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    select count(*) from vcoupon
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    update vcoupon
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponNo != null">
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderIdentity != null">
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.type != null">
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.owerId != null">
-        ower_id = #{record.owerId,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponAmount != null">
-        coupon_amount = #{record.couponAmount,jdbcType=INTEGER},
-      </if>
-      <if test="record.couponRule != null">
-        coupon_rule = #{record.couponRule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startTime != null">
-        start_time = #{record.startTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endTime != null">
-        end_time = #{record.endTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.areaLimit != null">
-        area_limit = #{record.areaLimit,jdbcType=VARCHAR},
-      </if>
-      <if test="record.timeS != null">
-        time_s = #{record.timeS,jdbcType=VARCHAR},
-      </if>
-      <if test="record.timeE != null">
-        time_e = #{record.timeE,jdbcType=VARCHAR},
-      </if>
-      <if test="record.channel != null">
-        channel = #{record.channel,jdbcType=VARCHAR},
-      </if>
-      <if test="record.title != null">
-        title = #{record.title,jdbcType=VARCHAR},
-      </if>
-      <if test="record.descp != null">
-        descp = #{record.descp,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null">
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.typeId != null">
-        type_id = #{record.typeId,jdbcType=INTEGER},
-      </if>
-      <if test="record.mobile != null">
-        mobile = #{record.mobile,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:37 CST 2017.
-    -->
-    update vcoupon
-    set id = #{record.id,jdbcType=INTEGER},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      type = #{record.type,jdbcType=INTEGER},
-      ower_id = #{record.owerId,jdbcType=INTEGER},
-      coupon_amount = #{record.couponAmount,jdbcType=INTEGER},
-      coupon_rule = #{record.couponRule,jdbcType=VARCHAR},
-      start_time = #{record.startTime,jdbcType=TIMESTAMP},
-      end_time = #{record.endTime,jdbcType=TIMESTAMP},
-      area_limit = #{record.areaLimit,jdbcType=VARCHAR},
-      time_s = #{record.timeS,jdbcType=VARCHAR},
-      time_e = #{record.timeE,jdbcType=VARCHAR},
-      channel = #{record.channel,jdbcType=VARCHAR},
-      title = #{record.title,jdbcType=VARCHAR},
-      descp = #{record.descp,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      type_id = #{record.typeId,jdbcType=INTEGER},
-      mobile = #{record.mobile,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 53
cloud-socket/src/com/js/kbt/mapper/VdayMoneyMapper.java

@@ -1,53 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VdayMoney;
-import com.js.kbt.model.VdayMoneyExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VdayMoneyMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int countByExample(VdayMoneyExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int deleteByExample(VdayMoneyExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int insert(VdayMoney record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int insertSelective(VdayMoney record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	List<VdayMoney> selectByExample(VdayMoneyExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") VdayMoney record,
-			@Param("example") VdayMoneyExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	int updateByExample(@Param("record") VdayMoney record,
-			@Param("example") VdayMoneyExample example);
-}

+ 0 - 230
cloud-socket/src/com/js/kbt/mapper/VdayMoneyMapper.xml

@@ -1,230 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.VdayMoneyMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VdayMoney">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    <result column="rq" jdbcType="VARCHAR" property="rq" />
-    <result column="money" jdbcType="DECIMAL" property="money" />
-    <result column="user_income" jdbcType="DECIMAL" property="userIncome" />
-    <result column="com_income" jdbcType="DECIMAL" property="comIncome" />
-    <result column="plat_income" jdbcType="DECIMAL" property="platIncome" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    rq, money, user_income, com_income, plat_income
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.VdayMoneyExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vday_money
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VdayMoneyExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    delete from vday_money
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VdayMoney">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    insert into vday_money (rq, money, user_income, 
-      com_income, plat_income)
-    values (#{rq,jdbcType=VARCHAR}, #{money,jdbcType=DECIMAL}, #{userIncome,jdbcType=DECIMAL}, 
-      #{comIncome,jdbcType=DECIMAL}, #{platIncome,jdbcType=DECIMAL})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VdayMoney">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    insert into vday_money
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="rq != null">
-        rq,
-      </if>
-      <if test="money != null">
-        money,
-      </if>
-      <if test="userIncome != null">
-        user_income,
-      </if>
-      <if test="comIncome != null">
-        com_income,
-      </if>
-      <if test="platIncome != null">
-        plat_income,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="rq != null">
-        #{rq,jdbcType=VARCHAR},
-      </if>
-      <if test="money != null">
-        #{money,jdbcType=DECIMAL},
-      </if>
-      <if test="userIncome != null">
-        #{userIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="comIncome != null">
-        #{comIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="platIncome != null">
-        #{platIncome,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VdayMoneyExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    select count(*) from vday_money
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    update vday_money
-    <set>
-      <if test="record.rq != null">
-        rq = #{record.rq,jdbcType=VARCHAR},
-      </if>
-      <if test="record.money != null">
-        money = #{record.money,jdbcType=DECIMAL},
-      </if>
-      <if test="record.userIncome != null">
-        user_income = #{record.userIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="record.comIncome != null">
-        com_income = #{record.comIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="record.platIncome != null">
-        plat_income = #{record.platIncome,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:32:13 CST 2017.
-    -->
-    update vday_money
-    set rq = #{record.rq,jdbcType=VARCHAR},
-      money = #{record.money,jdbcType=DECIMAL},
-      user_income = #{record.userIncome,jdbcType=DECIMAL},
-      com_income = #{record.comIncome,jdbcType=DECIMAL},
-      plat_income = #{record.platIncome,jdbcType=DECIMAL}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 64
cloud-socket/src/com/js/kbt/mapper/VorderCountMapper.java

@@ -1,64 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VorderCount;
-import com.js.kbt.model.VorderCountExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VorderCountMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int countByExample(VorderCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int deleteByExample(VorderCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int insert(VorderCount record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int insertSelective(VorderCount record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    List<VorderCount> selectByExample(VorderCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") VorderCount record, @Param("example") VorderCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vorder_count
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    int updateByExample(@Param("record") VorderCount record, @Param("example") VorderCountExample example);
-}

+ 0 - 431
cloud-socket/src/com/js/kbt/mapper/VorderCountMapper.xml

@@ -1,431 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.VorderCountMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VorderCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    <result column="id" property="id" jdbcType="INTEGER" />
-    <result column="order_identity" property="orderIdentity" jdbcType="VARCHAR" />
-    <result column="identity" property="identity" jdbcType="VARCHAR" />
-    <result column="order_type" property="orderType" jdbcType="INTEGER" />
-    <result column="startTime" property="starttime" jdbcType="TIMESTAMP" />
-    <result column="endTime" property="endtime" jdbcType="TIMESTAMP" />
-    <result column="user_id" property="userId" jdbcType="INTEGER" />
-    <result column="cost" property="cost" jdbcType="INTEGER" />
-    <result column="rule" property="rule" jdbcType="VARCHAR" />
-    <result column="discount" property="discount" jdbcType="DOUBLE" />
-    <result column="useCoupon" property="usecoupon" jdbcType="BIT" />
-    <result column="coupon_no" property="couponNo" jdbcType="VARCHAR" />
-    <result column="memo" property="memo" jdbcType="VARCHAR" />
-    <result column="address" property="address" jdbcType="VARCHAR" />
-    <result column="lng" property="lng" jdbcType="DOUBLE" />
-    <result column="lat" property="lat" jdbcType="DOUBLE" />
-    <result column="cost_origin" property="costOrigin" jdbcType="INTEGER" />
-    <result column="user_income" property="userIncome" jdbcType="INTEGER" />
-    <result column="com_income" property="comIncome" jdbcType="INTEGER" />
-    <result column="plat_income" property="platIncome" jdbcType="INTEGER" />
-    <result column="rq" property="rq" jdbcType="VARCHAR" />
-    <result column="sl" property="sl" jdbcType="DECIMAL" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    id, order_identity, identity, order_type, startTime, endTime, user_id, cost, rule, 
-    discount, useCoupon, coupon_no, memo, address, lng, lat, cost_origin, user_income, 
-    com_income, plat_income, rq, sl
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VorderCountExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vorder_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VorderCountExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    delete from vorder_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VorderCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    insert into vorder_count (id, order_identity, identity, 
-      order_type, startTime, endTime, 
-      user_id, cost, rule, 
-      discount, useCoupon, coupon_no, 
-      memo, address, lng, 
-      lat, cost_origin, user_income, 
-      com_income, plat_income, rq, 
-      sl)
-    values (#{id,jdbcType=INTEGER}, #{orderIdentity,jdbcType=VARCHAR}, #{identity,jdbcType=VARCHAR}, 
-      #{orderType,jdbcType=INTEGER}, #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, 
-      #{userId,jdbcType=INTEGER}, #{cost,jdbcType=INTEGER}, #{rule,jdbcType=VARCHAR}, 
-      #{discount,jdbcType=DOUBLE}, #{usecoupon,jdbcType=BIT}, #{couponNo,jdbcType=VARCHAR}, 
-      #{memo,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, 
-      #{lat,jdbcType=DOUBLE}, #{costOrigin,jdbcType=INTEGER}, #{userIncome,jdbcType=INTEGER}, 
-      #{comIncome,jdbcType=INTEGER}, #{platIncome,jdbcType=INTEGER}, #{rq,jdbcType=VARCHAR}, 
-      #{sl,jdbcType=DECIMAL})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VorderCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    insert into vorder_count
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        id,
-      </if>
-      <if test="orderIdentity != null" >
-        order_identity,
-      </if>
-      <if test="identity != null" >
-        identity,
-      </if>
-      <if test="orderType != null" >
-        order_type,
-      </if>
-      <if test="starttime != null" >
-        startTime,
-      </if>
-      <if test="endtime != null" >
-        endTime,
-      </if>
-      <if test="userId != null" >
-        user_id,
-      </if>
-      <if test="cost != null" >
-        cost,
-      </if>
-      <if test="rule != null" >
-        rule,
-      </if>
-      <if test="discount != null" >
-        discount,
-      </if>
-      <if test="usecoupon != null" >
-        useCoupon,
-      </if>
-      <if test="couponNo != null" >
-        coupon_no,
-      </if>
-      <if test="memo != null" >
-        memo,
-      </if>
-      <if test="address != null" >
-        address,
-      </if>
-      <if test="lng != null" >
-        lng,
-      </if>
-      <if test="lat != null" >
-        lat,
-      </if>
-      <if test="costOrigin != null" >
-        cost_origin,
-      </if>
-      <if test="userIncome != null" >
-        user_income,
-      </if>
-      <if test="comIncome != null" >
-        com_income,
-      </if>
-      <if test="platIncome != null" >
-        plat_income,
-      </if>
-      <if test="rq != null" >
-        rq,
-      </if>
-      <if test="sl != null" >
-        sl,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="orderIdentity != null" >
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null" >
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="orderType != null" >
-        #{orderType,jdbcType=INTEGER},
-      </if>
-      <if test="starttime != null" >
-        #{starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endtime != null" >
-        #{endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="userId != null" >
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="cost != null" >
-        #{cost,jdbcType=INTEGER},
-      </if>
-      <if test="rule != null" >
-        #{rule,jdbcType=VARCHAR},
-      </if>
-      <if test="discount != null" >
-        #{discount,jdbcType=DOUBLE},
-      </if>
-      <if test="usecoupon != null" >
-        #{usecoupon,jdbcType=BIT},
-      </if>
-      <if test="couponNo != null" >
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null" >
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null" >
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="lng != null" >
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="lat != null" >
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="costOrigin != null" >
-        #{costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null" >
-        #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null" >
-        #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platIncome != null" >
-        #{platIncome,jdbcType=INTEGER},
-      </if>
-      <if test="rq != null" >
-        #{rq,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null" >
-        #{sl,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VorderCountExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    select count(*) from vorder_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    update vorder_count
-    <set >
-      <if test="record.id != null" >
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.orderIdentity != null" >
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.identity != null" >
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderType != null" >
-        order_type = #{record.orderType,jdbcType=INTEGER},
-      </if>
-      <if test="record.starttime != null" >
-        startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endtime != null" >
-        endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.userId != null" >
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.cost != null" >
-        cost = #{record.cost,jdbcType=INTEGER},
-      </if>
-      <if test="record.rule != null" >
-        rule = #{record.rule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.discount != null" >
-        discount = #{record.discount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.usecoupon != null" >
-        useCoupon = #{record.usecoupon,jdbcType=BIT},
-      </if>
-      <if test="record.couponNo != null" >
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null" >
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null" >
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.lng != null" >
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lat != null" >
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.costOrigin != null" >
-        cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="record.userIncome != null" >
-        user_income = #{record.userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.comIncome != null" >
-        com_income = #{record.comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.platIncome != null" >
-        plat_income = #{record.platIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.rq != null" >
-        rq = #{record.rq,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sl != null" >
-        sl = #{record.sl,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:24:40 CST 2017.
-    -->
-    update vorder_count
-    set id = #{record.id,jdbcType=INTEGER},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      order_type = #{record.orderType,jdbcType=INTEGER},
-      startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      cost = #{record.cost,jdbcType=INTEGER},
-      rule = #{record.rule,jdbcType=VARCHAR},
-      discount = #{record.discount,jdbcType=DOUBLE},
-      useCoupon = #{record.usecoupon,jdbcType=BIT},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      user_income = #{record.userIncome,jdbcType=INTEGER},
-      com_income = #{record.comIncome,jdbcType=INTEGER},
-      plat_income = #{record.platIncome,jdbcType=INTEGER},
-      rq = #{record.rq,jdbcType=VARCHAR},
-      sl = #{record.sl,jdbcType=DECIMAL}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 64
cloud-socket/src/com/js/kbt/mapper/VparkCountMapper.java

@@ -1,64 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VparkCount;
-import com.js.kbt.model.VparkCountExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VparkCountMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int countByExample(VparkCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int deleteByExample(VparkCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int insert(VparkCount record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int insertSelective(VparkCount record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    List<VparkCount> selectByExample(VparkCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") VparkCount record, @Param("example") VparkCountExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpark_count
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    int updateByExample(@Param("record") VparkCount record, @Param("example") VparkCountExample example);
-}

+ 0 - 420
cloud-socket/src/com/js/kbt/mapper/VparkCountMapper.xml

@@ -1,420 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.VparkCountMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VparkCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    <result column="id" property="id" jdbcType="INTEGER" />
-    <result column="order_identity" property="orderIdentity" jdbcType="VARCHAR" />
-    <result column="identity" property="identity" jdbcType="VARCHAR" />
-    <result column="order_type" property="orderType" jdbcType="INTEGER" />
-    <result column="startTime" property="starttime" jdbcType="TIMESTAMP" />
-    <result column="endTime" property="endtime" jdbcType="TIMESTAMP" />
-    <result column="user_id" property="userId" jdbcType="INTEGER" />
-    <result column="cost" property="cost" jdbcType="INTEGER" />
-    <result column="rule" property="rule" jdbcType="VARCHAR" />
-    <result column="discount" property="discount" jdbcType="DOUBLE" />
-    <result column="useCoupon" property="usecoupon" jdbcType="BIT" />
-    <result column="coupon_no" property="couponNo" jdbcType="VARCHAR" />
-    <result column="memo" property="memo" jdbcType="VARCHAR" />
-    <result column="address" property="address" jdbcType="VARCHAR" />
-    <result column="lng" property="lng" jdbcType="DOUBLE" />
-    <result column="lat" property="lat" jdbcType="DOUBLE" />
-    <result column="cost_origin" property="costOrigin" jdbcType="INTEGER" />
-    <result column="user_name" property="userName" jdbcType="VARCHAR" />
-    <result column="user_income" property="userIncome" jdbcType="DECIMAL" />
-    <result column="com_income" property="comIncome" jdbcType="DECIMAL" />
-    <result column="plat_income" property="platIncome" jdbcType="DECIMAL" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    id, order_identity, identity, order_type, startTime, endTime, user_id, cost, rule, 
-    discount, useCoupon, coupon_no, memo, address, lng, lat, cost_origin, user_name, 
-    user_income, com_income, plat_income
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VparkCountExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vpark_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VparkCountExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    delete from vpark_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VparkCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    insert into vpark_count (id, order_identity, identity, 
-      order_type, startTime, endTime, 
-      user_id, cost, rule, 
-      discount, useCoupon, coupon_no, 
-      memo, address, lng, 
-      lat, cost_origin, user_name, 
-      user_income, com_income, plat_income
-      )
-    values (#{id,jdbcType=INTEGER}, #{orderIdentity,jdbcType=VARCHAR}, #{identity,jdbcType=VARCHAR}, 
-      #{orderType,jdbcType=INTEGER}, #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, 
-      #{userId,jdbcType=INTEGER}, #{cost,jdbcType=INTEGER}, #{rule,jdbcType=VARCHAR}, 
-      #{discount,jdbcType=DOUBLE}, #{usecoupon,jdbcType=BIT}, #{couponNo,jdbcType=VARCHAR}, 
-      #{memo,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, 
-      #{lat,jdbcType=DOUBLE}, #{costOrigin,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, 
-      #{userIncome,jdbcType=DECIMAL}, #{comIncome,jdbcType=DECIMAL}, #{platIncome,jdbcType=DECIMAL}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VparkCount" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    insert into vpark_count
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        id,
-      </if>
-      <if test="orderIdentity != null" >
-        order_identity,
-      </if>
-      <if test="identity != null" >
-        identity,
-      </if>
-      <if test="orderType != null" >
-        order_type,
-      </if>
-      <if test="starttime != null" >
-        startTime,
-      </if>
-      <if test="endtime != null" >
-        endTime,
-      </if>
-      <if test="userId != null" >
-        user_id,
-      </if>
-      <if test="cost != null" >
-        cost,
-      </if>
-      <if test="rule != null" >
-        rule,
-      </if>
-      <if test="discount != null" >
-        discount,
-      </if>
-      <if test="usecoupon != null" >
-        useCoupon,
-      </if>
-      <if test="couponNo != null" >
-        coupon_no,
-      </if>
-      <if test="memo != null" >
-        memo,
-      </if>
-      <if test="address != null" >
-        address,
-      </if>
-      <if test="lng != null" >
-        lng,
-      </if>
-      <if test="lat != null" >
-        lat,
-      </if>
-      <if test="costOrigin != null" >
-        cost_origin,
-      </if>
-      <if test="userName != null" >
-        user_name,
-      </if>
-      <if test="userIncome != null" >
-        user_income,
-      </if>
-      <if test="comIncome != null" >
-        com_income,
-      </if>
-      <if test="platIncome != null" >
-        plat_income,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="orderIdentity != null" >
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null" >
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="orderType != null" >
-        #{orderType,jdbcType=INTEGER},
-      </if>
-      <if test="starttime != null" >
-        #{starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endtime != null" >
-        #{endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="userId != null" >
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="cost != null" >
-        #{cost,jdbcType=INTEGER},
-      </if>
-      <if test="rule != null" >
-        #{rule,jdbcType=VARCHAR},
-      </if>
-      <if test="discount != null" >
-        #{discount,jdbcType=DOUBLE},
-      </if>
-      <if test="usecoupon != null" >
-        #{usecoupon,jdbcType=BIT},
-      </if>
-      <if test="couponNo != null" >
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null" >
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null" >
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="lng != null" >
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="lat != null" >
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="costOrigin != null" >
-        #{costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="userName != null" >
-        #{userName,jdbcType=VARCHAR},
-      </if>
-      <if test="userIncome != null" >
-        #{userIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="comIncome != null" >
-        #{comIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="platIncome != null" >
-        #{platIncome,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VparkCountExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    select count(*) from vpark_count
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    update vpark_count
-    <set >
-      <if test="record.id != null" >
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.orderIdentity != null" >
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.identity != null" >
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderType != null" >
-        order_type = #{record.orderType,jdbcType=INTEGER},
-      </if>
-      <if test="record.starttime != null" >
-        startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endtime != null" >
-        endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.userId != null" >
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.cost != null" >
-        cost = #{record.cost,jdbcType=INTEGER},
-      </if>
-      <if test="record.rule != null" >
-        rule = #{record.rule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.discount != null" >
-        discount = #{record.discount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.usecoupon != null" >
-        useCoupon = #{record.usecoupon,jdbcType=BIT},
-      </if>
-      <if test="record.couponNo != null" >
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null" >
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null" >
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.lng != null" >
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lat != null" >
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.costOrigin != null" >
-        cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      </if>
-      <if test="record.userName != null" >
-        user_name = #{record.userName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.userIncome != null" >
-        user_income = #{record.userIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="record.comIncome != null" >
-        com_income = #{record.comIncome,jdbcType=DECIMAL},
-      </if>
-      <if test="record.platIncome != null" >
-        plat_income = #{record.platIncome,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:06:59 CST 2017.
-    -->
-    update vpark_count
-    set id = #{record.id,jdbcType=INTEGER},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      order_type = #{record.orderType,jdbcType=INTEGER},
-      startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      cost = #{record.cost,jdbcType=INTEGER},
-      rule = #{record.rule,jdbcType=VARCHAR},
-      discount = #{record.discount,jdbcType=DOUBLE},
-      useCoupon = #{record.usecoupon,jdbcType=BIT},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      cost_origin = #{record.costOrigin,jdbcType=INTEGER},
-      user_name = #{record.userName,jdbcType=VARCHAR},
-      user_income = #{record.userIncome,jdbcType=DECIMAL},
-      com_income = #{record.comIncome,jdbcType=DECIMAL},
-      plat_income = #{record.platIncome,jdbcType=DECIMAL}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 53
cloud-socket/src/com/js/kbt/mapper/VparkOrderMapper.java

@@ -1,53 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VparkOrder;
-import com.js.kbt.model.VparkOrderExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VparkOrderMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int countByExample(VparkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int deleteByExample(VparkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int insert(VparkOrder record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int insertSelective(VparkOrder record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	List<VparkOrder> selectByExample(VparkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") VparkOrder record,
-			@Param("example") VparkOrderExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vpark_order
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	int updateByExample(@Param("record") VparkOrder record,
-			@Param("example") VparkOrderExample example);
-}

+ 0 - 371
cloud-socket/src/com/js/kbt/mapper/VparkOrderMapper.xml

@@ -1,371 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.VparkOrderMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VparkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    <result column="id" jdbcType="INTEGER" property="id" />
-    <result column="order_identity" jdbcType="VARCHAR" property="orderIdentity" />
-    <result column="identity" jdbcType="VARCHAR" property="identity" />
-    <result column="order_type" jdbcType="INTEGER" property="orderType" />
-    <result column="startTime" jdbcType="TIMESTAMP" property="starttime" />
-    <result column="endTime" jdbcType="TIMESTAMP" property="endtime" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-    <result column="cost" jdbcType="INTEGER" property="cost" />
-    <result column="rule" jdbcType="VARCHAR" property="rule" />
-    <result column="discount" jdbcType="DOUBLE" property="discount" />
-    <result column="useCoupon" jdbcType="BIT" property="usecoupon" />
-    <result column="coupon_no" jdbcType="VARCHAR" property="couponNo" />
-    <result column="memo" jdbcType="VARCHAR" property="memo" />
-    <result column="address" jdbcType="VARCHAR" property="address" />
-    <result column="lng" jdbcType="DOUBLE" property="lng" />
-    <result column="lat" jdbcType="DOUBLE" property="lat" />
-    <result column="user_name" jdbcType="VARCHAR" property="userName" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    id, order_identity, identity, order_type, startTime, endTime, user_id, cost, rule, 
-    discount, useCoupon, coupon_no, memo, address, lng, lat, user_name
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.VparkOrderExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vpark_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VparkOrderExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    delete from vpark_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VparkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    insert into vpark_order (id, order_identity, identity, 
-      order_type, startTime, endTime, 
-      user_id, cost, rule, 
-      discount, useCoupon, coupon_no, 
-      memo, address, lng, 
-      lat, user_name)
-    values (#{id,jdbcType=INTEGER}, #{orderIdentity,jdbcType=VARCHAR}, #{identity,jdbcType=VARCHAR}, 
-      #{orderType,jdbcType=INTEGER}, #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, 
-      #{userId,jdbcType=INTEGER}, #{cost,jdbcType=INTEGER}, #{rule,jdbcType=VARCHAR}, 
-      #{discount,jdbcType=DOUBLE}, #{usecoupon,jdbcType=BIT}, #{couponNo,jdbcType=VARCHAR}, 
-      #{memo,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, 
-      #{lat,jdbcType=DOUBLE}, #{userName,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VparkOrder">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    insert into vpark_order
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="orderIdentity != null">
-        order_identity,
-      </if>
-      <if test="identity != null">
-        identity,
-      </if>
-      <if test="orderType != null">
-        order_type,
-      </if>
-      <if test="starttime != null">
-        startTime,
-      </if>
-      <if test="endtime != null">
-        endTime,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="cost != null">
-        cost,
-      </if>
-      <if test="rule != null">
-        rule,
-      </if>
-      <if test="discount != null">
-        discount,
-      </if>
-      <if test="usecoupon != null">
-        useCoupon,
-      </if>
-      <if test="couponNo != null">
-        coupon_no,
-      </if>
-      <if test="memo != null">
-        memo,
-      </if>
-      <if test="address != null">
-        address,
-      </if>
-      <if test="lng != null">
-        lng,
-      </if>
-      <if test="lat != null">
-        lat,
-      </if>
-      <if test="userName != null">
-        user_name,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="orderIdentity != null">
-        #{orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null">
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="orderType != null">
-        #{orderType,jdbcType=INTEGER},
-      </if>
-      <if test="starttime != null">
-        #{starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="endtime != null">
-        #{endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="cost != null">
-        #{cost,jdbcType=INTEGER},
-      </if>
-      <if test="rule != null">
-        #{rule,jdbcType=VARCHAR},
-      </if>
-      <if test="discount != null">
-        #{discount,jdbcType=DOUBLE},
-      </if>
-      <if test="usecoupon != null">
-        #{usecoupon,jdbcType=BIT},
-      </if>
-      <if test="couponNo != null">
-        #{couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null">
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="address != null">
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="lng != null">
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="lat != null">
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="userName != null">
-        #{userName,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VparkOrderExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    select count(*) from vpark_order
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    update vpark_order
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.orderIdentity != null">
-        order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.identity != null">
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.orderType != null">
-        order_type = #{record.orderType,jdbcType=INTEGER},
-      </if>
-      <if test="record.starttime != null">
-        startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.endtime != null">
-        endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.cost != null">
-        cost = #{record.cost,jdbcType=INTEGER},
-      </if>
-      <if test="record.rule != null">
-        rule = #{record.rule,jdbcType=VARCHAR},
-      </if>
-      <if test="record.discount != null">
-        discount = #{record.discount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.usecoupon != null">
-        useCoupon = #{record.usecoupon,jdbcType=BIT},
-      </if>
-      <if test="record.couponNo != null">
-        coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null">
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.address != null">
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.lng != null">
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lat != null">
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.userName != null">
-        user_name = #{record.userName,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:17:28 CST 2017.
-    -->
-    update vpark_order
-    set id = #{record.id,jdbcType=INTEGER},
-      order_identity = #{record.orderIdentity,jdbcType=VARCHAR},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      order_type = #{record.orderType,jdbcType=INTEGER},
-      startTime = #{record.starttime,jdbcType=TIMESTAMP},
-      endTime = #{record.endtime,jdbcType=TIMESTAMP},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      cost = #{record.cost,jdbcType=INTEGER},
-      rule = #{record.rule,jdbcType=VARCHAR},
-      discount = #{record.discount,jdbcType=DOUBLE},
-      useCoupon = #{record.usecoupon,jdbcType=BIT},
-      coupon_no = #{record.couponNo,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      address = #{record.address,jdbcType=VARCHAR},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      user_name = #{record.userName,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 64
cloud-socket/src/com/js/kbt/mapper/VparkingPointMapper.java

@@ -1,64 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VparkingPoint;
-import com.js.kbt.model.VparkingPointExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VparkingPointMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int countByExample(VparkingPointExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int deleteByExample(VparkingPointExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int insert(VparkingPoint record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int insertSelective(VparkingPoint record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    List<VparkingPoint> selectByExample(VparkingPointExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") VparkingPoint record, @Param("example") VparkingPointExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vparking_point
-     *
-     * @mbggenerated Wed Nov 15 15:45:41 CST 2017
-     */
-    int updateByExample(@Param("record") VparkingPoint record, @Param("example") VparkingPointExample example);
-}

+ 0 - 595
cloud-socket/src/com/js/kbt/mapper/VparkingPointMapper.xml

@@ -1,595 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.VparkingPointMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VparkingPoint" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    <result column="id" property="id" jdbcType="INTEGER" />
-    <result column="lat" property="lat" jdbcType="DOUBLE" />
-    <result column="lng" property="lng" jdbcType="DOUBLE" />
-    <result column="geo" property="geo" jdbcType="VARCHAR" />
-    <result column="distance" property="distance" jdbcType="DOUBLE" />
-    <result column="identity" property="identity" jdbcType="VARCHAR" />
-    <result column="charge" property="charge" jdbcType="INTEGER" />
-    <result column="charge_rule" property="chargeRule" jdbcType="INTEGER" />
-    <result column="available" property="available" jdbcType="BIT" />
-    <result column="last_occupier_id" property="lastOccupierId" jdbcType="INTEGER" />
-    <result column="share_user_id" property="shareUserId" jdbcType="INTEGER" />
-    <result column="share_mobile" property="shareMobile" jdbcType="VARCHAR" />
-    <result column="book_time" property="bookTime" jdbcType="TIMESTAMP" />
-    <result column="address" property="address" jdbcType="VARCHAR" />
-    <result column="preferential" property="preferential" jdbcType="VARCHAR" />
-    <result column="memo" property="memo" jdbcType="VARCHAR" />
-    <result column="start_date" property="startDate" jdbcType="VARCHAR" />
-    <result column="end_date" property="endDate" jdbcType="VARCHAR" />
-    <result column="start_time" property="startTime" jdbcType="VARCHAR" />
-    <result column="end_time" property="endTime" jdbcType="VARCHAR" />
-    <result column="sms" property="sms" jdbcType="VARCHAR" />
-    <result column="code" property="code" jdbcType="INTEGER" />
-    <result column="charge_type" property="chargeType" jdbcType="INTEGER" />
-    <result column="user_id" property="userId" jdbcType="INTEGER" />
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
-    <result column="share" property="share" jdbcType="INTEGER" />
-    <result column="setup" property="setup" jdbcType="INTEGER" />
-    <result column="status" property="status" jdbcType="INTEGER" />
-    <result column="free_time" property="freeTime" jdbcType="INTEGER" />
-    <result column="type" property="type" jdbcType="INTEGER" />
-    <result column="user_income" property="userIncome" jdbcType="INTEGER" />
-    <result column="com_income" property="comIncome" jdbcType="INTEGER" />
-    <result column="platfrom_income" property="platfromIncome" jdbcType="INTEGER" />
-    <result column="point_state" property="pointState" jdbcType="INTEGER" />
-    <result column="battery" property="battery" jdbcType="REAL" />
-    <result column="com_name" property="comName" jdbcType="VARCHAR" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    id, lat, lng, geo, distance, identity, charge, charge_rule, available, last_occupier_id, 
-    share_user_id, share_mobile, book_time, address, preferential, memo, start_date, 
-    end_date, start_time, end_time, sms, code, charge_type, user_id, community_id, share, 
-    setup, status, free_time, type, user_income, com_income, platfrom_income, point_state, 
-    battery, com_name
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VparkingPointExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vparking_point
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VparkingPointExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    delete from vparking_point
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VparkingPoint" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    insert into vparking_point (id, lat, lng, geo, 
-      distance, identity, charge, 
-      charge_rule, available, last_occupier_id, 
-      share_user_id, share_mobile, book_time, 
-      address, preferential, memo, 
-      start_date, end_date, start_time, 
-      end_time, sms, code, 
-      charge_type, user_id, community_id, 
-      share, setup, status, 
-      free_time, type, user_income, 
-      com_income, platfrom_income, point_state, 
-      battery, com_name)
-    values (#{id,jdbcType=INTEGER}, #{lat,jdbcType=DOUBLE}, #{lng,jdbcType=DOUBLE}, #{geo,jdbcType=VARCHAR}, 
-      #{distance,jdbcType=DOUBLE}, #{identity,jdbcType=VARCHAR}, #{charge,jdbcType=INTEGER}, 
-      #{chargeRule,jdbcType=INTEGER}, #{available,jdbcType=BIT}, #{lastOccupierId,jdbcType=INTEGER}, 
-      #{shareUserId,jdbcType=INTEGER}, #{shareMobile,jdbcType=VARCHAR}, #{bookTime,jdbcType=TIMESTAMP}, 
-      #{address,jdbcType=VARCHAR}, #{preferential,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
-      #{startDate,jdbcType=VARCHAR}, #{endDate,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR}, 
-      #{endTime,jdbcType=VARCHAR}, #{sms,jdbcType=VARCHAR}, #{code,jdbcType=INTEGER}, 
-      #{chargeType,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, 
-      #{share,jdbcType=INTEGER}, #{setup,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, 
-      #{freeTime,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{userIncome,jdbcType=INTEGER}, 
-      #{comIncome,jdbcType=INTEGER}, #{platfromIncome,jdbcType=INTEGER}, #{pointState,jdbcType=INTEGER}, 
-      #{battery,jdbcType=REAL}, #{comName,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VparkingPoint" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    insert into vparking_point
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        id,
-      </if>
-      <if test="lat != null" >
-        lat,
-      </if>
-      <if test="lng != null" >
-        lng,
-      </if>
-      <if test="geo != null" >
-        geo,
-      </if>
-      <if test="distance != null" >
-        distance,
-      </if>
-      <if test="identity != null" >
-        identity,
-      </if>
-      <if test="charge != null" >
-        charge,
-      </if>
-      <if test="chargeRule != null" >
-        charge_rule,
-      </if>
-      <if test="available != null" >
-        available,
-      </if>
-      <if test="lastOccupierId != null" >
-        last_occupier_id,
-      </if>
-      <if test="shareUserId != null" >
-        share_user_id,
-      </if>
-      <if test="shareMobile != null" >
-        share_mobile,
-      </if>
-      <if test="bookTime != null" >
-        book_time,
-      </if>
-      <if test="address != null" >
-        address,
-      </if>
-      <if test="preferential != null" >
-        preferential,
-      </if>
-      <if test="memo != null" >
-        memo,
-      </if>
-      <if test="startDate != null" >
-        start_date,
-      </if>
-      <if test="endDate != null" >
-        end_date,
-      </if>
-      <if test="startTime != null" >
-        start_time,
-      </if>
-      <if test="endTime != null" >
-        end_time,
-      </if>
-      <if test="sms != null" >
-        sms,
-      </if>
-      <if test="code != null" >
-        code,
-      </if>
-      <if test="chargeType != null" >
-        charge_type,
-      </if>
-      <if test="userId != null" >
-        user_id,
-      </if>
-      <if test="communityId != null" >
-        community_id,
-      </if>
-      <if test="share != null" >
-        share,
-      </if>
-      <if test="setup != null" >
-        setup,
-      </if>
-      <if test="status != null" >
-        status,
-      </if>
-      <if test="freeTime != null" >
-        free_time,
-      </if>
-      <if test="type != null" >
-        type,
-      </if>
-      <if test="userIncome != null" >
-        user_income,
-      </if>
-      <if test="comIncome != null" >
-        com_income,
-      </if>
-      <if test="platfromIncome != null" >
-        platfrom_income,
-      </if>
-      <if test="pointState != null" >
-        point_state,
-      </if>
-      <if test="battery != null" >
-        battery,
-      </if>
-      <if test="comName != null" >
-        com_name,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
-        #{id,jdbcType=INTEGER},
-      </if>
-      <if test="lat != null" >
-        #{lat,jdbcType=DOUBLE},
-      </if>
-      <if test="lng != null" >
-        #{lng,jdbcType=DOUBLE},
-      </if>
-      <if test="geo != null" >
-        #{geo,jdbcType=VARCHAR},
-      </if>
-      <if test="distance != null" >
-        #{distance,jdbcType=DOUBLE},
-      </if>
-      <if test="identity != null" >
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="charge != null" >
-        #{charge,jdbcType=INTEGER},
-      </if>
-      <if test="chargeRule != null" >
-        #{chargeRule,jdbcType=INTEGER},
-      </if>
-      <if test="available != null" >
-        #{available,jdbcType=BIT},
-      </if>
-      <if test="lastOccupierId != null" >
-        #{lastOccupierId,jdbcType=INTEGER},
-      </if>
-      <if test="shareUserId != null" >
-        #{shareUserId,jdbcType=INTEGER},
-      </if>
-      <if test="shareMobile != null" >
-        #{shareMobile,jdbcType=VARCHAR},
-      </if>
-      <if test="bookTime != null" >
-        #{bookTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="address != null" >
-        #{address,jdbcType=VARCHAR},
-      </if>
-      <if test="preferential != null" >
-        #{preferential,jdbcType=VARCHAR},
-      </if>
-      <if test="memo != null" >
-        #{memo,jdbcType=VARCHAR},
-      </if>
-      <if test="startDate != null" >
-        #{startDate,jdbcType=VARCHAR},
-      </if>
-      <if test="endDate != null" >
-        #{endDate,jdbcType=VARCHAR},
-      </if>
-      <if test="startTime != null" >
-        #{startTime,jdbcType=VARCHAR},
-      </if>
-      <if test="endTime != null" >
-        #{endTime,jdbcType=VARCHAR},
-      </if>
-      <if test="sms != null" >
-        #{sms,jdbcType=VARCHAR},
-      </if>
-      <if test="code != null" >
-        #{code,jdbcType=INTEGER},
-      </if>
-      <if test="chargeType != null" >
-        #{chargeType,jdbcType=INTEGER},
-      </if>
-      <if test="userId != null" >
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="communityId != null" >
-        #{communityId,jdbcType=INTEGER},
-      </if>
-      <if test="share != null" >
-        #{share,jdbcType=INTEGER},
-      </if>
-      <if test="setup != null" >
-        #{setup,jdbcType=INTEGER},
-      </if>
-      <if test="status != null" >
-        #{status,jdbcType=INTEGER},
-      </if>
-      <if test="freeTime != null" >
-        #{freeTime,jdbcType=INTEGER},
-      </if>
-      <if test="type != null" >
-        #{type,jdbcType=INTEGER},
-      </if>
-      <if test="userIncome != null" >
-        #{userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="comIncome != null" >
-        #{comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="platfromIncome != null" >
-        #{platfromIncome,jdbcType=INTEGER},
-      </if>
-      <if test="pointState != null" >
-        #{pointState,jdbcType=INTEGER},
-      </if>
-      <if test="battery != null" >
-        #{battery,jdbcType=REAL},
-      </if>
-      <if test="comName != null" >
-        #{comName,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VparkingPointExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    select count(*) from vparking_point
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    update vparking_point
-    <set >
-      <if test="record.id != null" >
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.lat != null" >
-        lat = #{record.lat,jdbcType=DOUBLE},
-      </if>
-      <if test="record.lng != null" >
-        lng = #{record.lng,jdbcType=DOUBLE},
-      </if>
-      <if test="record.geo != null" >
-        geo = #{record.geo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.distance != null" >
-        distance = #{record.distance,jdbcType=DOUBLE},
-      </if>
-      <if test="record.identity != null" >
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.charge != null" >
-        charge = #{record.charge,jdbcType=INTEGER},
-      </if>
-      <if test="record.chargeRule != null" >
-        charge_rule = #{record.chargeRule,jdbcType=INTEGER},
-      </if>
-      <if test="record.available != null" >
-        available = #{record.available,jdbcType=BIT},
-      </if>
-      <if test="record.lastOccupierId != null" >
-        last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
-      </if>
-      <if test="record.shareUserId != null" >
-        share_user_id = #{record.shareUserId,jdbcType=INTEGER},
-      </if>
-      <if test="record.shareMobile != null" >
-        share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.bookTime != null" >
-        book_time = #{record.bookTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.address != null" >
-        address = #{record.address,jdbcType=VARCHAR},
-      </if>
-      <if test="record.preferential != null" >
-        preferential = #{record.preferential,jdbcType=VARCHAR},
-      </if>
-      <if test="record.memo != null" >
-        memo = #{record.memo,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startDate != null" >
-        start_date = #{record.startDate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.endDate != null" >
-        end_date = #{record.endDate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.startTime != null" >
-        start_time = #{record.startTime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.endTime != null" >
-        end_time = #{record.endTime,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sms != null" >
-        sms = #{record.sms,jdbcType=VARCHAR},
-      </if>
-      <if test="record.code != null" >
-        code = #{record.code,jdbcType=INTEGER},
-      </if>
-      <if test="record.chargeType != null" >
-        charge_type = #{record.chargeType,jdbcType=INTEGER},
-      </if>
-      <if test="record.userId != null" >
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.communityId != null" >
-        community_id = #{record.communityId,jdbcType=INTEGER},
-      </if>
-      <if test="record.share != null" >
-        share = #{record.share,jdbcType=INTEGER},
-      </if>
-      <if test="record.setup != null" >
-        setup = #{record.setup,jdbcType=INTEGER},
-      </if>
-      <if test="record.status != null" >
-        status = #{record.status,jdbcType=INTEGER},
-      </if>
-      <if test="record.freeTime != null" >
-        free_time = #{record.freeTime,jdbcType=INTEGER},
-      </if>
-      <if test="record.type != null" >
-        type = #{record.type,jdbcType=INTEGER},
-      </if>
-      <if test="record.userIncome != null" >
-        user_income = #{record.userIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.comIncome != null" >
-        com_income = #{record.comIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.platfromIncome != null" >
-        platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
-      </if>
-      <if test="record.pointState != null" >
-        point_state = #{record.pointState,jdbcType=INTEGER},
-      </if>
-      <if test="record.battery != null" >
-        battery = #{record.battery,jdbcType=REAL},
-      </if>
-      <if test="record.comName != null" >
-        com_name = #{record.comName,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Nov 15 15:45:41 CST 2017.
-    -->
-    update vparking_point
-    set id = #{record.id,jdbcType=INTEGER},
-      lat = #{record.lat,jdbcType=DOUBLE},
-      lng = #{record.lng,jdbcType=DOUBLE},
-      geo = #{record.geo,jdbcType=VARCHAR},
-      distance = #{record.distance,jdbcType=DOUBLE},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      charge = #{record.charge,jdbcType=INTEGER},
-      charge_rule = #{record.chargeRule,jdbcType=INTEGER},
-      available = #{record.available,jdbcType=BIT},
-      last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
-      share_user_id = #{record.shareUserId,jdbcType=INTEGER},
-      share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
-      book_time = #{record.bookTime,jdbcType=TIMESTAMP},
-      address = #{record.address,jdbcType=VARCHAR},
-      preferential = #{record.preferential,jdbcType=VARCHAR},
-      memo = #{record.memo,jdbcType=VARCHAR},
-      start_date = #{record.startDate,jdbcType=VARCHAR},
-      end_date = #{record.endDate,jdbcType=VARCHAR},
-      start_time = #{record.startTime,jdbcType=VARCHAR},
-      end_time = #{record.endTime,jdbcType=VARCHAR},
-      sms = #{record.sms,jdbcType=VARCHAR},
-      code = #{record.code,jdbcType=INTEGER},
-      charge_type = #{record.chargeType,jdbcType=INTEGER},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      community_id = #{record.communityId,jdbcType=INTEGER},
-      share = #{record.share,jdbcType=INTEGER},
-      setup = #{record.setup,jdbcType=INTEGER},
-      status = #{record.status,jdbcType=INTEGER},
-      free_time = #{record.freeTime,jdbcType=INTEGER},
-      type = #{record.type,jdbcType=INTEGER},
-      user_income = #{record.userIncome,jdbcType=INTEGER},
-      com_income = #{record.comIncome,jdbcType=INTEGER},
-      platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
-      point_state = #{record.pointState,jdbcType=INTEGER},
-      battery = #{record.battery,jdbcType=REAL},
-      com_name = #{record.comName,jdbcType=VARCHAR}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 64
cloud-socket/src/com/js/kbt/mapper/VpointUseMapper.java

@@ -1,64 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VpointUse;
-import com.js.kbt.model.VpointUseExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VpointUseMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int countByExample(VpointUseExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int deleteByExample(VpointUseExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int insert(VpointUse record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int insertSelective(VpointUse record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    List<VpointUse> selectByExample(VpointUseExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") VpointUse record, @Param("example") VpointUseExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    int updateByExample(@Param("record") VpointUse record, @Param("example") VpointUseExample example);
-}

+ 0 - 208
cloud-socket/src/com/js/kbt/mapper/VpointUseMapper.xml

@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.VpointUseMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VpointUse" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    <result column="rq" property="rq" jdbcType="VARCHAR" />
-    <result column="identity" property="identity" jdbcType="VARCHAR" />
-    <result column="sl" property="sl" jdbcType="DECIMAL" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    rq, identity, sl
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VpointUseExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vpoint_use
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VpointUseExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    delete from vpoint_use
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VpointUse" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    insert into vpoint_use (rq, identity, sl
-      )
-    values (#{rq,jdbcType=VARCHAR}, #{identity,jdbcType=VARCHAR}, #{sl,jdbcType=DECIMAL}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VpointUse" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    insert into vpoint_use
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="rq != null" >
-        rq,
-      </if>
-      <if test="identity != null" >
-        identity,
-      </if>
-      <if test="sl != null" >
-        sl,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="rq != null" >
-        #{rq,jdbcType=VARCHAR},
-      </if>
-      <if test="identity != null" >
-        #{identity,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null" >
-        #{sl,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VpointUseExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    select count(*) from vpoint_use
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    update vpoint_use
-    <set >
-      <if test="record.rq != null" >
-        rq = #{record.rq,jdbcType=VARCHAR},
-      </if>
-      <if test="record.identity != null" >
-        identity = #{record.identity,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sl != null" >
-        sl = #{record.sl,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 15:38:46 CST 2017.
-    -->
-    update vpoint_use
-    set rq = #{record.rq,jdbcType=VARCHAR},
-      identity = #{record.identity,jdbcType=VARCHAR},
-      sl = #{record.sl,jdbcType=DECIMAL}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 64
cloud-socket/src/com/js/kbt/mapper/VuserActMapper.java

@@ -1,64 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.VuserAct;
-import com.js.kbt.model.VuserActExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VuserActMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int countByExample(VuserActExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int deleteByExample(VuserActExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int insert(VuserAct record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int insertSelective(VuserAct record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    List<VuserAct> selectByExample(VuserActExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int updateByExampleSelective(@Param("record") VuserAct record, @Param("example") VuserActExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vuser_act
-     *
-     * @mbggenerated Fri Nov 10 14:58:13 CST 2017
-     */
-    int updateByExample(@Param("record") VuserAct record, @Param("example") VuserActExample example);
-}

+ 0 - 195
cloud-socket/src/com/js/kbt/mapper/VuserActMapper.xml

@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="com.js.kbt.mapper.VuserActMapper" >
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.VuserAct" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    <result column="rq" property="rq" jdbcType="VARCHAR" />
-    <result column="sl" property="sl" jdbcType="DECIMAL" />
-  </resultMap>
-  <sql id="Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    <where >
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    <where >
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
-        <if test="criteria.valid" >
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue" >
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue" >
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue" >
-                  and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    rq, sl
-  </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VuserActExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    select
-    <if test="distinct" >
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vuser_act
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null" >
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VuserActExample" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    delete from vuser_act
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.VuserAct" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    insert into vuser_act (rq, sl)
-    values (#{rq,jdbcType=VARCHAR}, #{sl,jdbcType=DECIMAL})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.VuserAct" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    insert into vuser_act
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="rq != null" >
-        rq,
-      </if>
-      <if test="sl != null" >
-        sl,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="rq != null" >
-        #{rq,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null" >
-        #{sl,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VuserActExample" resultType="java.lang.Integer" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    select count(*) from vuser_act
-    <if test="_parameter != null" >
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    update vuser_act
-    <set >
-      <if test="record.rq != null" >
-        rq = #{record.rq,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sl != null" >
-        sl = #{record.sl,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map" >
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Nov 10 14:58:13 CST 2017.
-    -->
-    update vuser_act
-    set rq = #{record.rq,jdbcType=VARCHAR},
-      sl = #{record.sl,jdbcType=DECIMAL}
-    <if test="_parameter != null" >
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 53
cloud-socket/src/com/js/kbt/mapper/VuserMapper.java

@@ -1,53 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Vuser;
-import com.js.kbt.model.VuserExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface VuserMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int countByExample(VuserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int deleteByExample(VuserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int insert(Vuser record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int insertSelective(Vuser record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	List<Vuser> selectByExample(VuserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Vuser record,
-			@Param("example") VuserExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vuser
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	int updateByExample(@Param("record") Vuser record,
-			@Param("example") VuserExample example);
-}

+ 0 - 195
cloud-socket/src/com/js/kbt/mapper/VuserMapper.xml

@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.VuserMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Vuser">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    <result column="indate" jdbcType="VARCHAR" property="indate" />
-    <result column="sl" jdbcType="DECIMAL" property="sl" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    indate, sl
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.VuserExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from vuser
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.VuserExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    delete from vuser
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Vuser">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    insert into vuser (indate, sl)
-    values (#{indate,jdbcType=VARCHAR}, #{sl,jdbcType=DECIMAL})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Vuser">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    insert into vuser
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="sl != null">
-        sl,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="indate != null">
-        #{indate,jdbcType=VARCHAR},
-      </if>
-      <if test="sl != null">
-        #{sl,jdbcType=DECIMAL},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.VuserExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    select count(*) from vuser
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    update vuser
-    <set>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=VARCHAR},
-      </if>
-      <if test="record.sl != null">
-        sl = #{record.sl,jdbcType=DECIMAL},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Nov 06 13:21:03 CST 2017.
-    -->
-    update vuser
-    set indate = #{record.indate,jdbcType=VARCHAR},
-      sl = #{record.sl,jdbcType=DECIMAL}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-</mapper>

+ 0 - 77
cloud-socket/src/com/js/kbt/mapper/WithdrawMapper.java

@@ -1,77 +0,0 @@
-package com.js.kbt.mapper;
-
-import com.js.kbt.model.Withdraw;
-import com.js.kbt.model.WithdrawExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface WithdrawMapper {
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int countByExample(WithdrawExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int deleteByExample(WithdrawExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int deleteByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int insert(Withdraw record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int insertSelective(Withdraw record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	List<Withdraw> selectByExample(WithdrawExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	Withdraw selectByPrimaryKey(Integer id);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int updateByExampleSelective(@Param("record") Withdraw record,
-			@Param("example") WithdrawExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int updateByExample(@Param("record") Withdraw record,
-			@Param("example") WithdrawExample example);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int updateByPrimaryKeySelective(Withdraw record);
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table withdraw
-	 * @mbggenerated  Thu Jul 13 14:40:53 CST 2017
-	 */
-	int updateByPrimaryKey(Withdraw record);
-}

+ 0 - 348
cloud-socket/src/com/js/kbt/mapper/WithdrawMapper.xml

@@ -1,348 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.js.kbt.mapper.WithdrawMapper">
-  <resultMap id="BaseResultMap" type="com.js.kbt.model.Withdraw">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="user_id" jdbcType="INTEGER" property="userId" />
-    <result column="apply_money" jdbcType="INTEGER" property="applyMoney" />
-    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
-    <result column="status" jdbcType="INTEGER" property="status" />
-    <result column="reason" jdbcType="VARCHAR" property="reason" />
-    <result column="opdate" jdbcType="TIMESTAMP" property="opdate" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-    <result column="alipay_account" jdbcType="VARCHAR" property="alipayAccount" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    id, user_id, apply_money, indate, status, reason, opdate, mobile, alipay_account
-  </sql>
-  <select id="selectByExample" parameterType="com.js.kbt.model.WithdrawExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from withdraw
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from withdraw
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    delete from withdraw
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.js.kbt.model.WithdrawExample">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    delete from withdraw
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.js.kbt.model.Withdraw">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into withdraw (user_id, apply_money, indate, 
-      status, reason, opdate, 
-      mobile, alipay_account)
-    values (#{userId,jdbcType=INTEGER}, #{applyMoney,jdbcType=INTEGER}, #{indate,jdbcType=TIMESTAMP}, 
-      #{status,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR}, #{opdate,jdbcType=TIMESTAMP}, 
-      #{mobile,jdbcType=VARCHAR}, #{alipayAccount,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.js.kbt.model.Withdraw">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
-      SELECT LAST_INSERT_ID()
-    </selectKey>
-    insert into withdraw
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="applyMoney != null">
-        apply_money,
-      </if>
-      <if test="indate != null">
-        indate,
-      </if>
-      <if test="status != null">
-        status,
-      </if>
-      <if test="reason != null">
-        reason,
-      </if>
-      <if test="opdate != null">
-        opdate,
-      </if>
-      <if test="mobile != null">
-        mobile,
-      </if>
-      <if test="alipayAccount != null">
-        alipay_account,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="userId != null">
-        #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="applyMoney != null">
-        #{applyMoney,jdbcType=INTEGER},
-      </if>
-      <if test="indate != null">
-        #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="status != null">
-        #{status,jdbcType=INTEGER},
-      </if>
-      <if test="reason != null">
-        #{reason,jdbcType=VARCHAR},
-      </if>
-      <if test="opdate != null">
-        #{opdate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="alipayAccount != null">
-        #{alipayAccount,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.js.kbt.model.WithdrawExample" resultType="java.lang.Integer">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    select count(*) from withdraw
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    update withdraw
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=INTEGER},
-      </if>
-      <if test="record.applyMoney != null">
-        apply_money = #{record.applyMoney,jdbcType=INTEGER},
-      </if>
-      <if test="record.indate != null">
-        indate = #{record.indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.status != null">
-        status = #{record.status,jdbcType=INTEGER},
-      </if>
-      <if test="record.reason != null">
-        reason = #{record.reason,jdbcType=VARCHAR},
-      </if>
-      <if test="record.opdate != null">
-        opdate = #{record.opdate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.mobile != null">
-        mobile = #{record.mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="record.alipayAccount != null">
-        alipay_account = #{record.alipayAccount,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    update withdraw
-    set id = #{record.id,jdbcType=INTEGER},
-      user_id = #{record.userId,jdbcType=INTEGER},
-      apply_money = #{record.applyMoney,jdbcType=INTEGER},
-      indate = #{record.indate,jdbcType=TIMESTAMP},
-      status = #{record.status,jdbcType=INTEGER},
-      reason = #{record.reason,jdbcType=VARCHAR},
-      opdate = #{record.opdate,jdbcType=TIMESTAMP},
-      mobile = #{record.mobile,jdbcType=VARCHAR},
-      alipay_account = #{record.alipayAccount,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.Withdraw">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    update withdraw
-    <set>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=INTEGER},
-      </if>
-      <if test="applyMoney != null">
-        apply_money = #{applyMoney,jdbcType=INTEGER},
-      </if>
-      <if test="indate != null">
-        indate = #{indate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="status != null">
-        status = #{status,jdbcType=INTEGER},
-      </if>
-      <if test="reason != null">
-        reason = #{reason,jdbcType=VARCHAR},
-      </if>
-      <if test="opdate != null">
-        opdate = #{opdate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="mobile != null">
-        mobile = #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="alipayAccount != null">
-        alipay_account = #{alipayAccount,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.Withdraw">
-    <!--
-      WARNING - @mbggenerated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu Jul 13 14:40:53 CST 2017.
-    -->
-    update withdraw
-    set user_id = #{userId,jdbcType=INTEGER},
-      apply_money = #{applyMoney,jdbcType=INTEGER},
-      indate = #{indate,jdbcType=TIMESTAMP},
-      status = #{status,jdbcType=INTEGER},
-      reason = #{reason,jdbcType=VARCHAR},
-      opdate = #{opdate,jdbcType=TIMESTAMP},
-      mobile = #{mobile,jdbcType=VARCHAR},
-      alipay_account = #{alipayAccount,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>

+ 0 - 191
cloud-socket/src/com/js/kbt/model/ChargeRecord.java

@@ -1,191 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class ChargeRecord {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.seq
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private String seq;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.user_id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private Integer userId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.amt
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private Integer amt;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.way
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private String way;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.indate
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private Date indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.state
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private Integer state;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column charge_record.name
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	private String name;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.id
-	 * @return  the value of charge_record.id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.id
-	 * @param id  the value for charge_record.id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.seq
-	 * @return  the value of charge_record.seq
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public String getSeq() {
-		return seq;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.seq
-	 * @param seq  the value for charge_record.seq
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setSeq(String seq) {
-		this.seq = seq;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.user_id
-	 * @return  the value of charge_record.user_id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Integer getUserId() {
-		return userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.user_id
-	 * @param userId  the value for charge_record.user_id
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setUserId(Integer userId) {
-		this.userId = userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.amt
-	 * @return  the value of charge_record.amt
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Integer getAmt() {
-		return amt;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.amt
-	 * @param amt  the value for charge_record.amt
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setAmt(Integer amt) {
-		this.amt = amt;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.way
-	 * @return  the value of charge_record.way
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public String getWay() {
-		return way;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.way
-	 * @param way  the value for charge_record.way
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setWay(String way) {
-		this.way = way;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.indate
-	 * @return  the value of charge_record.indate
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.indate
-	 * @param indate  the value for charge_record.indate
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.state
-	 * @return  the value of charge_record.state
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Integer getState() {
-		return state;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.state
-	 * @param state  the value for charge_record.state
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setState(Integer state) {
-		this.state = state;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column charge_record.name
-	 * @return  the value of charge_record.name
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column charge_record.name
-	 * @param name  the value for charge_record.name
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-}

+ 0 - 777
cloud-socket/src/com/js/kbt/model/ChargeRecordExample.java

@@ -1,777 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class ChargeRecordExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public ChargeRecordExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqIsNull() {
-			addCriterion("seq is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqIsNotNull() {
-			addCriterion("seq is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqEqualTo(String value) {
-			addCriterion("seq =", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqNotEqualTo(String value) {
-			addCriterion("seq <>", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqGreaterThan(String value) {
-			addCriterion("seq >", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqGreaterThanOrEqualTo(String value) {
-			addCriterion("seq >=", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqLessThan(String value) {
-			addCriterion("seq <", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqLessThanOrEqualTo(String value) {
-			addCriterion("seq <=", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqLike(String value) {
-			addCriterion("seq like", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqNotLike(String value) {
-			addCriterion("seq not like", value, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqIn(List<String> values) {
-			addCriterion("seq in", values, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqNotIn(List<String> values) {
-			addCriterion("seq not in", values, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqBetween(String value1, String value2) {
-			addCriterion("seq between", value1, value2, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andSeqNotBetween(String value1, String value2) {
-			addCriterion("seq not between", value1, value2, "seq");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIsNull() {
-			addCriterion("user_id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIsNotNull() {
-			addCriterion("user_id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdEqualTo(Integer value) {
-			addCriterion("user_id =", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotEqualTo(Integer value) {
-			addCriterion("user_id <>", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdGreaterThan(Integer value) {
-			addCriterion("user_id >", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("user_id >=", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdLessThan(Integer value) {
-			addCriterion("user_id <", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdLessThanOrEqualTo(Integer value) {
-			addCriterion("user_id <=", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIn(List<Integer> values) {
-			addCriterion("user_id in", values, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotIn(List<Integer> values) {
-			addCriterion("user_id not in", values, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdBetween(Integer value1, Integer value2) {
-			addCriterion("user_id between", value1, value2, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("user_id not between", value1, value2, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtIsNull() {
-			addCriterion("amt is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtIsNotNull() {
-			addCriterion("amt is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtEqualTo(Integer value) {
-			addCriterion("amt =", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtNotEqualTo(Integer value) {
-			addCriterion("amt <>", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtGreaterThan(Integer value) {
-			addCriterion("amt >", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtGreaterThanOrEqualTo(Integer value) {
-			addCriterion("amt >=", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtLessThan(Integer value) {
-			addCriterion("amt <", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtLessThanOrEqualTo(Integer value) {
-			addCriterion("amt <=", value, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtIn(List<Integer> values) {
-			addCriterion("amt in", values, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtNotIn(List<Integer> values) {
-			addCriterion("amt not in", values, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtBetween(Integer value1, Integer value2) {
-			addCriterion("amt between", value1, value2, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andAmtNotBetween(Integer value1, Integer value2) {
-			addCriterion("amt not between", value1, value2, "amt");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayIsNull() {
-			addCriterion("way is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayIsNotNull() {
-			addCriterion("way is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayEqualTo(String value) {
-			addCriterion("way =", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayNotEqualTo(String value) {
-			addCriterion("way <>", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayGreaterThan(String value) {
-			addCriterion("way >", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayGreaterThanOrEqualTo(String value) {
-			addCriterion("way >=", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayLessThan(String value) {
-			addCriterion("way <", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayLessThanOrEqualTo(String value) {
-			addCriterion("way <=", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayLike(String value) {
-			addCriterion("way like", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayNotLike(String value) {
-			addCriterion("way not like", value, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayIn(List<String> values) {
-			addCriterion("way in", values, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayNotIn(List<String> values) {
-			addCriterion("way not in", values, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayBetween(String value1, String value2) {
-			addCriterion("way between", value1, value2, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andWayNotBetween(String value1, String value2) {
-			addCriterion("way not between", value1, value2, "way");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNull() {
-			addCriterion("indate is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNotNull() {
-			addCriterion("indate is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateEqualTo(Date value) {
-			addCriterion("indate =", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotEqualTo(Date value) {
-			addCriterion("indate <>", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThan(Date value) {
-			addCriterion("indate >", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThanOrEqualTo(Date value) {
-			addCriterion("indate >=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThan(Date value) {
-			addCriterion("indate <", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThanOrEqualTo(Date value) {
-			addCriterion("indate <=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIn(List<Date> values) {
-			addCriterion("indate in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotIn(List<Date> values) {
-			addCriterion("indate not in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateBetween(Date value1, Date value2) {
-			addCriterion("indate between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotBetween(Date value1, Date value2) {
-			addCriterion("indate not between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateIsNull() {
-			addCriterion("state is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateIsNotNull() {
-			addCriterion("state is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateEqualTo(Integer value) {
-			addCriterion("state =", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateNotEqualTo(Integer value) {
-			addCriterion("state <>", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateGreaterThan(Integer value) {
-			addCriterion("state >", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateGreaterThanOrEqualTo(Integer value) {
-			addCriterion("state >=", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateLessThan(Integer value) {
-			addCriterion("state <", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateLessThanOrEqualTo(Integer value) {
-			addCriterion("state <=", value, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateIn(List<Integer> values) {
-			addCriterion("state in", values, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateNotIn(List<Integer> values) {
-			addCriterion("state not in", values, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateBetween(Integer value1, Integer value2) {
-			addCriterion("state between", value1, value2, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andStateNotBetween(Integer value1, Integer value2) {
-			addCriterion("state not between", value1, value2, "state");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNull() {
-			addCriterion("name is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNotNull() {
-			addCriterion("name is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameEqualTo(String value) {
-			addCriterion("name =", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotEqualTo(String value) {
-			addCriterion("name <>", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThan(String value) {
-			addCriterion("name >", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThanOrEqualTo(String value) {
-			addCriterion("name >=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThan(String value) {
-			addCriterion("name <", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThanOrEqualTo(String value) {
-			addCriterion("name <=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLike(String value) {
-			addCriterion("name like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotLike(String value) {
-			addCriterion("name not like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIn(List<String> values) {
-			addCriterion("name in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotIn(List<String> values) {
-			addCriterion("name not in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameBetween(String value1, String value2) {
-			addCriterion("name between", value1, value2, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotBetween(String value1, String value2) {
-			addCriterion("name not between", value1, value2, "name");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table charge_record
-	 * @mbggenerated  Thu Jul 06 14:46:41 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table charge_record
-     *
-     * @mbggenerated do_not_delete_during_merge Thu Jul 06 14:56:46 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 293
cloud-socket/src/com/js/kbt/model/CommunityProperty.java

@@ -1,293 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class CommunityProperty {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.id
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private Integer id;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.name
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private String name;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.username
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private String username;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.pwd
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private String pwd;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.indate
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private Date indate;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.tel
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private String tel;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.bank_account
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private String bankAccount;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.service_fee
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private Integer serviceFee;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column community_property.money
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    private Double money;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.id
-     *
-     * @return the value of community_property.id
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Integer getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.id
-     *
-     * @param id the value for community_property.id
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.name
-     *
-     * @return the value of community_property.name
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.name
-     *
-     * @param name the value for community_property.name
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.username
-     *
-     * @return the value of community_property.username
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getUsername() {
-        return username;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.username
-     *
-     * @param username the value for community_property.username
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setUsername(String username) {
-        this.username = username;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.pwd
-     *
-     * @return the value of community_property.pwd
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getPwd() {
-        return pwd;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.pwd
-     *
-     * @param pwd the value for community_property.pwd
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setPwd(String pwd) {
-        this.pwd = pwd;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.indate
-     *
-     * @return the value of community_property.indate
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Date getIndate() {
-        return indate;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.indate
-     *
-     * @param indate the value for community_property.indate
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setIndate(Date indate) {
-        this.indate = indate;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.tel
-     *
-     * @return the value of community_property.tel
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getTel() {
-        return tel;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.tel
-     *
-     * @param tel the value for community_property.tel
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setTel(String tel) {
-        this.tel = tel;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.bank_account
-     *
-     * @return the value of community_property.bank_account
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getBankAccount() {
-        return bankAccount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.bank_account
-     *
-     * @param bankAccount the value for community_property.bank_account
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setBankAccount(String bankAccount) {
-        this.bankAccount = bankAccount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.service_fee
-     *
-     * @return the value of community_property.service_fee
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Integer getServiceFee() {
-        return serviceFee;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.service_fee
-     *
-     * @param serviceFee the value for community_property.service_fee
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setServiceFee(Integer serviceFee) {
-        this.serviceFee = serviceFee;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column community_property.money
-     *
-     * @return the value of community_property.money
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Double getMoney() {
-        return money;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column community_property.money
-     *
-     * @param money the value for community_property.money
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setMoney(Double money) {
-        this.money = money;
-    }
-}

+ 0 - 893
cloud-socket/src/com/js/kbt/model/CommunityPropertyExample.java

@@ -1,893 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class CommunityPropertyExample {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    protected String orderByClause;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    protected boolean distinct;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    protected List<Criteria> oredCriteria;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public CommunityPropertyExample() {
-        oredCriteria = new ArrayList<Criteria>();
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<Criterion>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andIdIsNull() {
-            addCriterion("id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIsNotNull() {
-            addCriterion("id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdEqualTo(Integer value) {
-            addCriterion("id =", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotEqualTo(Integer value) {
-            addCriterion("id <>", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThan(Integer value) {
-            addCriterion("id >", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-            addCriterion("id >=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThan(Integer value) {
-            addCriterion("id <", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThanOrEqualTo(Integer value) {
-            addCriterion("id <=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIn(List<Integer> values) {
-            addCriterion("id in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotIn(List<Integer> values) {
-            addCriterion("id not in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdBetween(Integer value1, Integer value2) {
-            addCriterion("id between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotBetween(Integer value1, Integer value2) {
-            addCriterion("id not between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameIsNull() {
-            addCriterion("name is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameIsNotNull() {
-            addCriterion("name is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameEqualTo(String value) {
-            addCriterion("name =", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameNotEqualTo(String value) {
-            addCriterion("name <>", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameGreaterThan(String value) {
-            addCriterion("name >", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameGreaterThanOrEqualTo(String value) {
-            addCriterion("name >=", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameLessThan(String value) {
-            addCriterion("name <", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameLessThanOrEqualTo(String value) {
-            addCriterion("name <=", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameLike(String value) {
-            addCriterion("name like", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameNotLike(String value) {
-            addCriterion("name not like", value, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameIn(List<String> values) {
-            addCriterion("name in", values, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameNotIn(List<String> values) {
-            addCriterion("name not in", values, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameBetween(String value1, String value2) {
-            addCriterion("name between", value1, value2, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andNameNotBetween(String value1, String value2) {
-            addCriterion("name not between", value1, value2, "name");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameIsNull() {
-            addCriterion("username is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameIsNotNull() {
-            addCriterion("username is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameEqualTo(String value) {
-            addCriterion("username =", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameNotEqualTo(String value) {
-            addCriterion("username <>", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameGreaterThan(String value) {
-            addCriterion("username >", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
-            addCriterion("username >=", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameLessThan(String value) {
-            addCriterion("username <", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameLessThanOrEqualTo(String value) {
-            addCriterion("username <=", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameLike(String value) {
-            addCriterion("username like", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameNotLike(String value) {
-            addCriterion("username not like", value, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameIn(List<String> values) {
-            addCriterion("username in", values, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameNotIn(List<String> values) {
-            addCriterion("username not in", values, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameBetween(String value1, String value2) {
-            addCriterion("username between", value1, value2, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andUsernameNotBetween(String value1, String value2) {
-            addCriterion("username not between", value1, value2, "username");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdIsNull() {
-            addCriterion("pwd is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdIsNotNull() {
-            addCriterion("pwd is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdEqualTo(String value) {
-            addCriterion("pwd =", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdNotEqualTo(String value) {
-            addCriterion("pwd <>", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdGreaterThan(String value) {
-            addCriterion("pwd >", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdGreaterThanOrEqualTo(String value) {
-            addCriterion("pwd >=", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdLessThan(String value) {
-            addCriterion("pwd <", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdLessThanOrEqualTo(String value) {
-            addCriterion("pwd <=", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdLike(String value) {
-            addCriterion("pwd like", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdNotLike(String value) {
-            addCriterion("pwd not like", value, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdIn(List<String> values) {
-            addCriterion("pwd in", values, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdNotIn(List<String> values) {
-            addCriterion("pwd not in", values, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdBetween(String value1, String value2) {
-            addCriterion("pwd between", value1, value2, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andPwdNotBetween(String value1, String value2) {
-            addCriterion("pwd not between", value1, value2, "pwd");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIsNull() {
-            addCriterion("indate is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIsNotNull() {
-            addCriterion("indate is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateEqualTo(Date value) {
-            addCriterion("indate =", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotEqualTo(Date value) {
-            addCriterion("indate <>", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateGreaterThan(Date value) {
-            addCriterion("indate >", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateGreaterThanOrEqualTo(Date value) {
-            addCriterion("indate >=", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateLessThan(Date value) {
-            addCriterion("indate <", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateLessThanOrEqualTo(Date value) {
-            addCriterion("indate <=", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIn(List<Date> values) {
-            addCriterion("indate in", values, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotIn(List<Date> values) {
-            addCriterion("indate not in", values, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateBetween(Date value1, Date value2) {
-            addCriterion("indate between", value1, value2, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotBetween(Date value1, Date value2) {
-            addCriterion("indate not between", value1, value2, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelIsNull() {
-            addCriterion("tel is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelIsNotNull() {
-            addCriterion("tel is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelEqualTo(String value) {
-            addCriterion("tel =", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelNotEqualTo(String value) {
-            addCriterion("tel <>", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelGreaterThan(String value) {
-            addCriterion("tel >", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelGreaterThanOrEqualTo(String value) {
-            addCriterion("tel >=", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelLessThan(String value) {
-            addCriterion("tel <", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelLessThanOrEqualTo(String value) {
-            addCriterion("tel <=", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelLike(String value) {
-            addCriterion("tel like", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelNotLike(String value) {
-            addCriterion("tel not like", value, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelIn(List<String> values) {
-            addCriterion("tel in", values, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelNotIn(List<String> values) {
-            addCriterion("tel not in", values, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelBetween(String value1, String value2) {
-            addCriterion("tel between", value1, value2, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andTelNotBetween(String value1, String value2) {
-            addCriterion("tel not between", value1, value2, "tel");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountIsNull() {
-            addCriterion("bank_account is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountIsNotNull() {
-            addCriterion("bank_account is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountEqualTo(String value) {
-            addCriterion("bank_account =", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountNotEqualTo(String value) {
-            addCriterion("bank_account <>", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountGreaterThan(String value) {
-            addCriterion("bank_account >", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountGreaterThanOrEqualTo(String value) {
-            addCriterion("bank_account >=", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountLessThan(String value) {
-            addCriterion("bank_account <", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountLessThanOrEqualTo(String value) {
-            addCriterion("bank_account <=", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountLike(String value) {
-            addCriterion("bank_account like", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountNotLike(String value) {
-            addCriterion("bank_account not like", value, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountIn(List<String> values) {
-            addCriterion("bank_account in", values, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountNotIn(List<String> values) {
-            addCriterion("bank_account not in", values, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountBetween(String value1, String value2) {
-            addCriterion("bank_account between", value1, value2, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andBankAccountNotBetween(String value1, String value2) {
-            addCriterion("bank_account not between", value1, value2, "bankAccount");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeIsNull() {
-            addCriterion("service_fee is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeIsNotNull() {
-            addCriterion("service_fee is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeEqualTo(Integer value) {
-            addCriterion("service_fee =", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeNotEqualTo(Integer value) {
-            addCriterion("service_fee <>", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeGreaterThan(Integer value) {
-            addCriterion("service_fee >", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeGreaterThanOrEqualTo(Integer value) {
-            addCriterion("service_fee >=", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeLessThan(Integer value) {
-            addCriterion("service_fee <", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeLessThanOrEqualTo(Integer value) {
-            addCriterion("service_fee <=", value, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeIn(List<Integer> values) {
-            addCriterion("service_fee in", values, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeNotIn(List<Integer> values) {
-            addCriterion("service_fee not in", values, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeBetween(Integer value1, Integer value2) {
-            addCriterion("service_fee between", value1, value2, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andServiceFeeNotBetween(Integer value1, Integer value2) {
-            addCriterion("service_fee not between", value1, value2, "serviceFee");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyIsNull() {
-            addCriterion("money is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyIsNotNull() {
-            addCriterion("money is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyEqualTo(Double value) {
-            addCriterion("money =", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyNotEqualTo(Double value) {
-            addCriterion("money <>", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyGreaterThan(Double value) {
-            addCriterion("money >", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyGreaterThanOrEqualTo(Double value) {
-            addCriterion("money >=", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyLessThan(Double value) {
-            addCriterion("money <", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyLessThanOrEqualTo(Double value) {
-            addCriterion("money <=", value, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyIn(List<Double> values) {
-            addCriterion("money in", values, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyNotIn(List<Double> values) {
-            addCriterion("money not in", values, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyBetween(Double value1, Double value2) {
-            addCriterion("money between", value1, value2, "money");
-            return (Criteria) this;
-        }
-
-        public Criteria andMoneyNotBetween(Double value1, Double value2) {
-            addCriterion("money not between", value1, value2, "money");
-            return (Criteria) this;
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table community_property
-     *
-     * @mbggenerated do_not_delete_during_merge Wed Nov 01 09:24:46 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table community_property
-     *
-     * @mbggenerated Wed Nov 01 09:24:46 CST 2017
-     */
-    public static class Criterion {
-        private String condition;
-
-        private Object value;
-
-        private Object secondValue;
-
-        private boolean noValue;
-
-        private boolean singleValue;
-
-        private boolean betweenValue;
-
-        private boolean listValue;
-
-        private String typeHandler;
-
-        public String getCondition() {
-            return condition;
-        }
-
-        public Object getValue() {
-            return value;
-        }
-
-        public Object getSecondValue() {
-            return secondValue;
-        }
-
-        public boolean isNoValue() {
-            return noValue;
-        }
-
-        public boolean isSingleValue() {
-            return singleValue;
-        }
-
-        public boolean isBetweenValue() {
-            return betweenValue;
-        }
-
-        public boolean isListValue() {
-            return listValue;
-        }
-
-        public String getTypeHandler() {
-            return typeHandler;
-        }
-
-        protected Criterion(String condition) {
-            super();
-            this.condition = condition;
-            this.typeHandler = null;
-            this.noValue = true;
-        }
-
-        protected Criterion(String condition, Object value, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.typeHandler = typeHandler;
-            if (value instanceof List<?>) {
-                this.listValue = true;
-            } else {
-                this.singleValue = true;
-            }
-        }
-
-        protected Criterion(String condition, Object value) {
-            this(condition, value, null);
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.secondValue = secondValue;
-            this.typeHandler = typeHandler;
-            this.betweenValue = true;
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue) {
-            this(condition, value, secondValue, null);
-        }
-    }
-}

+ 0 - 421
cloud-socket/src/com/js/kbt/model/Coupon.java

@@ -1,421 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class Coupon {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.coupon_no
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String couponNo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.order_identity
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String orderIdentity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.type
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Integer type;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.ower_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Integer owerId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.coupon_amount
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Integer couponAmount;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.coupon_rule
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String couponRule;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.start_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Date startTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.end_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Date endTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.area_limit
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String areaLimit;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.time_e
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String timeE;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.time_s
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String timeS;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.channel
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String channel;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.title
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String title;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.descp
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String descp;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.memo
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private String memo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.indate
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Date indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon.type_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	private Integer typeId;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.id
-	 * @return  the value of coupon.id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.id
-	 * @param id  the value for coupon.id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.coupon_no
-	 * @return  the value of coupon.coupon_no
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getCouponNo() {
-		return couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.coupon_no
-	 * @param couponNo  the value for coupon.coupon_no
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setCouponNo(String couponNo) {
-		this.couponNo = couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.order_identity
-	 * @return  the value of coupon.order_identity
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getOrderIdentity() {
-		return orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.order_identity
-	 * @param orderIdentity  the value for coupon.order_identity
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setOrderIdentity(String orderIdentity) {
-		this.orderIdentity = orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.type
-	 * @return  the value of coupon.type
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Integer getType() {
-		return type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.type
-	 * @param type  the value for coupon.type
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setType(Integer type) {
-		this.type = type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.ower_id
-	 * @return  the value of coupon.ower_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Integer getOwerId() {
-		return owerId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.ower_id
-	 * @param owerId  the value for coupon.ower_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setOwerId(Integer owerId) {
-		this.owerId = owerId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.coupon_amount
-	 * @return  the value of coupon.coupon_amount
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Integer getCouponAmount() {
-		return couponAmount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.coupon_amount
-	 * @param couponAmount  the value for coupon.coupon_amount
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setCouponAmount(Integer couponAmount) {
-		this.couponAmount = couponAmount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.coupon_rule
-	 * @return  the value of coupon.coupon_rule
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getCouponRule() {
-		return couponRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.coupon_rule
-	 * @param couponRule  the value for coupon.coupon_rule
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setCouponRule(String couponRule) {
-		this.couponRule = couponRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.start_time
-	 * @return  the value of coupon.start_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Date getStartTime() {
-		return startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.start_time
-	 * @param startTime  the value for coupon.start_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setStartTime(Date startTime) {
-		this.startTime = startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.end_time
-	 * @return  the value of coupon.end_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Date getEndTime() {
-		return endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.end_time
-	 * @param endTime  the value for coupon.end_time
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setEndTime(Date endTime) {
-		this.endTime = endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.area_limit
-	 * @return  the value of coupon.area_limit
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getAreaLimit() {
-		return areaLimit;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.area_limit
-	 * @param areaLimit  the value for coupon.area_limit
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setAreaLimit(String areaLimit) {
-		this.areaLimit = areaLimit;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.time_e
-	 * @return  the value of coupon.time_e
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getTimeE() {
-		return timeE;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.time_e
-	 * @param timeE  the value for coupon.time_e
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setTimeE(String timeE) {
-		this.timeE = timeE;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.time_s
-	 * @return  the value of coupon.time_s
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getTimeS() {
-		return timeS;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.time_s
-	 * @param timeS  the value for coupon.time_s
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setTimeS(String timeS) {
-		this.timeS = timeS;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.channel
-	 * @return  the value of coupon.channel
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getChannel() {
-		return channel;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.channel
-	 * @param channel  the value for coupon.channel
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setChannel(String channel) {
-		this.channel = channel;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.title
-	 * @return  the value of coupon.title
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getTitle() {
-		return title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.title
-	 * @param title  the value for coupon.title
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.descp
-	 * @return  the value of coupon.descp
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getDescp() {
-		return descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.descp
-	 * @param descp  the value for coupon.descp
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setDescp(String descp) {
-		this.descp = descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.memo
-	 * @return  the value of coupon.memo
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public String getMemo() {
-		return memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.memo
-	 * @param memo  the value for coupon.memo
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setMemo(String memo) {
-		this.memo = memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.indate
-	 * @return  the value of coupon.indate
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.indate
-	 * @param indate  the value for coupon.indate
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon.type_id
-	 * @return  the value of coupon.type_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public Integer getTypeId() {
-		return typeId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon.type_id
-	 * @param typeId  the value for coupon.type_id
-	 * @mbggenerated  Wed Jul 12 17:22:50 CST 2017
-	 */
-	public void setTypeId(Integer typeId) {
-		this.typeId = typeId;
-	}
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1452
cloud-socket/src/com/js/kbt/model/CouponExample.java


+ 0 - 258
cloud-socket/src/com/js/kbt/model/CouponType.java

@@ -1,258 +0,0 @@
-package com.js.kbt.model;
-
-public class CouponType {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.id
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private Integer type;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.startDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String startdate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.endDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String enddate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.startTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String starttime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.endTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String endtime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.money
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private Integer money;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.name
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String name;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.address
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String address;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.descp
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String descp;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column coupon_type.title
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	private String title;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.id
-	 * @return  the value of coupon_type.id
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.id
-	 * @param id  the value for coupon_type.id
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.type
-	 * @return  the value of coupon_type.type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public Integer getType() {
-		return type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.type
-	 * @param type  the value for coupon_type.type
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setType(Integer type) {
-		this.type = type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.startDate
-	 * @return  the value of coupon_type.startDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getStartdate() {
-		return startdate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.startDate
-	 * @param startdate  the value for coupon_type.startDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setStartdate(String startdate) {
-		this.startdate = startdate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.endDate
-	 * @return  the value of coupon_type.endDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getEnddate() {
-		return enddate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.endDate
-	 * @param enddate  the value for coupon_type.endDate
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setEnddate(String enddate) {
-		this.enddate = enddate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.startTime
-	 * @return  the value of coupon_type.startTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getStarttime() {
-		return starttime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.startTime
-	 * @param starttime  the value for coupon_type.startTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setStarttime(String starttime) {
-		this.starttime = starttime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.endTime
-	 * @return  the value of coupon_type.endTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getEndtime() {
-		return endtime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.endTime
-	 * @param endtime  the value for coupon_type.endTime
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setEndtime(String endtime) {
-		this.endtime = endtime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.money
-	 * @return  the value of coupon_type.money
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public Integer getMoney() {
-		return money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.money
-	 * @param money  the value for coupon_type.money
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setMoney(Integer money) {
-		this.money = money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.name
-	 * @return  the value of coupon_type.name
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.name
-	 * @param name  the value for coupon_type.name
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.address
-	 * @return  the value of coupon_type.address
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getAddress() {
-		return address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.address
-	 * @param address  the value for coupon_type.address
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.descp
-	 * @return  the value of coupon_type.descp
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getDescp() {
-		return descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.descp
-	 * @param descp  the value for coupon_type.descp
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setDescp(String descp) {
-		this.descp = descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column coupon_type.title
-	 * @return  the value of coupon_type.title
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public String getTitle() {
-		return title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column coupon_type.title
-	 * @param title  the value for coupon_type.title
-	 * @mbggenerated  Mon Jul 17 14:15:04 CST 2017
-	 */
-	public void setTitle(String title) {
-		this.title = title;
-	}
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1006
cloud-socket/src/com/js/kbt/model/CouponTypeExample.java


+ 0 - 120
cloud-socket/src/com/js/kbt/model/Fix.java

@@ -1,120 +0,0 @@
-package com.js.kbt.model;
-
-public class Fix {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column fix.id
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column fix.msg
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	private String msg;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column fix.pic
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	private String pic;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column fix.is_deal
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	private Integer isDeal;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column fix.identity
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	private String identity;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column fix.id
-	 * @return  the value of fix.id
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column fix.id
-	 * @param id  the value for fix.id
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column fix.msg
-	 * @return  the value of fix.msg
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public String getMsg() {
-		return msg;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column fix.msg
-	 * @param msg  the value for fix.msg
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column fix.pic
-	 * @return  the value of fix.pic
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public String getPic() {
-		return pic;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column fix.pic
-	 * @param pic  the value for fix.pic
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setPic(String pic) {
-		this.pic = pic;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column fix.is_deal
-	 * @return  the value of fix.is_deal
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public Integer getIsDeal() {
-		return isDeal;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column fix.is_deal
-	 * @param isDeal  the value for fix.is_deal
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setIsDeal(Integer isDeal) {
-		this.isDeal = isDeal;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column fix.identity
-	 * @return  the value of fix.identity
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public String getIdentity() {
-		return identity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column fix.identity
-	 * @param identity  the value for fix.identity
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setIdentity(String identity) {
-		this.identity = identity;
-	}
-}

+ 0 - 596
cloud-socket/src/com/js/kbt/model/FixExample.java

@@ -1,596 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class FixExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public FixExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIsNull() {
-			addCriterion("msg is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIsNotNull() {
-			addCriterion("msg is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgEqualTo(String value) {
-			addCriterion("msg =", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotEqualTo(String value) {
-			addCriterion("msg <>", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgGreaterThan(String value) {
-			addCriterion("msg >", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgGreaterThanOrEqualTo(String value) {
-			addCriterion("msg >=", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLessThan(String value) {
-			addCriterion("msg <", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLessThanOrEqualTo(String value) {
-			addCriterion("msg <=", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLike(String value) {
-			addCriterion("msg like", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotLike(String value) {
-			addCriterion("msg not like", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIn(List<String> values) {
-			addCriterion("msg in", values, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotIn(List<String> values) {
-			addCriterion("msg not in", values, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgBetween(String value1, String value2) {
-			addCriterion("msg between", value1, value2, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotBetween(String value1, String value2) {
-			addCriterion("msg not between", value1, value2, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIsNull() {
-			addCriterion("pic is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIsNotNull() {
-			addCriterion("pic is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicEqualTo(String value) {
-			addCriterion("pic =", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotEqualTo(String value) {
-			addCriterion("pic <>", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicGreaterThan(String value) {
-			addCriterion("pic >", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicGreaterThanOrEqualTo(String value) {
-			addCriterion("pic >=", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLessThan(String value) {
-			addCriterion("pic <", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLessThanOrEqualTo(String value) {
-			addCriterion("pic <=", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLike(String value) {
-			addCriterion("pic like", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotLike(String value) {
-			addCriterion("pic not like", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIn(List<String> values) {
-			addCriterion("pic in", values, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotIn(List<String> values) {
-			addCriterion("pic not in", values, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicBetween(String value1, String value2) {
-			addCriterion("pic between", value1, value2, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotBetween(String value1, String value2) {
-			addCriterion("pic not between", value1, value2, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealIsNull() {
-			addCriterion("is_deal is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealIsNotNull() {
-			addCriterion("is_deal is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealEqualTo(Integer value) {
-			addCriterion("is_deal =", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealNotEqualTo(Integer value) {
-			addCriterion("is_deal <>", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealGreaterThan(Integer value) {
-			addCriterion("is_deal >", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealGreaterThanOrEqualTo(Integer value) {
-			addCriterion("is_deal >=", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealLessThan(Integer value) {
-			addCriterion("is_deal <", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealLessThanOrEqualTo(Integer value) {
-			addCriterion("is_deal <=", value, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealIn(List<Integer> values) {
-			addCriterion("is_deal in", values, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealNotIn(List<Integer> values) {
-			addCriterion("is_deal not in", values, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealBetween(Integer value1, Integer value2) {
-			addCriterion("is_deal between", value1, value2, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIsDealNotBetween(Integer value1, Integer value2) {
-			addCriterion("is_deal not between", value1, value2, "isDeal");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityIsNull() {
-			addCriterion("identity is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityIsNotNull() {
-			addCriterion("identity is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityEqualTo(String value) {
-			addCriterion("identity =", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityNotEqualTo(String value) {
-			addCriterion("identity <>", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityGreaterThan(String value) {
-			addCriterion("identity >", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityGreaterThanOrEqualTo(String value) {
-			addCriterion("identity >=", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityLessThan(String value) {
-			addCriterion("identity <", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityLessThanOrEqualTo(String value) {
-			addCriterion("identity <=", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityLike(String value) {
-			addCriterion("identity like", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityNotLike(String value) {
-			addCriterion("identity not like", value, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityIn(List<String> values) {
-			addCriterion("identity in", values, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityNotIn(List<String> values) {
-			addCriterion("identity not in", values, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityBetween(String value1, String value2) {
-			addCriterion("identity between", value1, value2, "identity");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdentityNotBetween(String value1, String value2) {
-			addCriterion("identity not between", value1, value2, "identity");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table fix
-	 * @mbggenerated  Wed Nov 15 15:25:41 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table fix
-     *
-     * @mbggenerated do_not_delete_during_merge Wed Oct 25 09:47:41 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 190
cloud-socket/src/com/js/kbt/model/Message.java

@@ -1,190 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-public class Message {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.id
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.title
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private String title;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.pic
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private String pic;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.indate
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private Date indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.type
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private Integer type;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.ext
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private String ext;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.user_token
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private String userToken;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column message.content
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	private String content;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.id
-	 * @return  the value of message.id
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.id
-	 * @param id  the value for message.id
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.title
-	 * @return  the value of message.title
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getTitle() {
-		return title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.title
-	 * @param title  the value for message.title
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.pic
-	 * @return  the value of message.pic
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getPic() {
-		return pic;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.pic
-	 * @param pic  the value for message.pic
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setPic(String pic) {
-		this.pic = pic;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.indate
-	 * @return  the value of message.indate
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.indate
-	 * @param indate  the value for message.indate
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.type
-	 * @return  the value of message.type
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public Integer getType() {
-		return type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.type
-	 * @param type  the value for message.type
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setType(Integer type) {
-		this.type = type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.ext
-	 * @return  the value of message.ext
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getExt() {
-		return ext;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.ext
-	 * @param ext  the value for message.ext
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setExt(String ext) {
-		this.ext = ext;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.user_token
-	 * @return  the value of message.user_token
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getUserToken() {
-		return userToken;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.user_token
-	 * @param userToken  the value for message.user_token
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setUserToken(String userToken) {
-		this.userToken = userToken;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column message.content
-	 * @return  the value of message.content
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getContent() {
-		return content;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column message.content
-	 * @param content  the value for message.content
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setContent(String content) {
-		this.content = content;
-	}
-}

+ 0 - 727
cloud-socket/src/com/js/kbt/model/MessageExample.java

@@ -1,727 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class MessageExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public MessageExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleIsNull() {
-			addCriterion("title is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleIsNotNull() {
-			addCriterion("title is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleEqualTo(String value) {
-			addCriterion("title =", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleNotEqualTo(String value) {
-			addCriterion("title <>", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleGreaterThan(String value) {
-			addCriterion("title >", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleGreaterThanOrEqualTo(String value) {
-			addCriterion("title >=", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleLessThan(String value) {
-			addCriterion("title <", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleLessThanOrEqualTo(String value) {
-			addCriterion("title <=", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleLike(String value) {
-			addCriterion("title like", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleNotLike(String value) {
-			addCriterion("title not like", value, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleIn(List<String> values) {
-			addCriterion("title in", values, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleNotIn(List<String> values) {
-			addCriterion("title not in", values, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleBetween(String value1, String value2) {
-			addCriterion("title between", value1, value2, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andTitleNotBetween(String value1, String value2) {
-			addCriterion("title not between", value1, value2, "title");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIsNull() {
-			addCriterion("pic is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIsNotNull() {
-			addCriterion("pic is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicEqualTo(String value) {
-			addCriterion("pic =", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotEqualTo(String value) {
-			addCriterion("pic <>", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicGreaterThan(String value) {
-			addCriterion("pic >", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicGreaterThanOrEqualTo(String value) {
-			addCriterion("pic >=", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLessThan(String value) {
-			addCriterion("pic <", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLessThanOrEqualTo(String value) {
-			addCriterion("pic <=", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicLike(String value) {
-			addCriterion("pic like", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotLike(String value) {
-			addCriterion("pic not like", value, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicIn(List<String> values) {
-			addCriterion("pic in", values, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotIn(List<String> values) {
-			addCriterion("pic not in", values, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicBetween(String value1, String value2) {
-			addCriterion("pic between", value1, value2, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andPicNotBetween(String value1, String value2) {
-			addCriterion("pic not between", value1, value2, "pic");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNull() {
-			addCriterion("indate is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNotNull() {
-			addCriterion("indate is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateEqualTo(Date value) {
-			addCriterion("indate =", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotEqualTo(Date value) {
-			addCriterion("indate <>", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThan(Date value) {
-			addCriterion("indate >", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThanOrEqualTo(Date value) {
-			addCriterion("indate >=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThan(Date value) {
-			addCriterion("indate <", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThanOrEqualTo(Date value) {
-			addCriterion("indate <=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIn(List<Date> values) {
-			addCriterion("indate in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotIn(List<Date> values) {
-			addCriterion("indate not in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateBetween(Date value1, Date value2) {
-			addCriterion("indate between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotBetween(Date value1, Date value2) {
-			addCriterion("indate not between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeIsNull() {
-			addCriterion("type is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeIsNotNull() {
-			addCriterion("type is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeEqualTo(Integer value) {
-			addCriterion("type =", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeNotEqualTo(Integer value) {
-			addCriterion("type <>", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeGreaterThan(Integer value) {
-			addCriterion("type >", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
-			addCriterion("type >=", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeLessThan(Integer value) {
-			addCriterion("type <", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeLessThanOrEqualTo(Integer value) {
-			addCriterion("type <=", value, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeIn(List<Integer> values) {
-			addCriterion("type in", values, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeNotIn(List<Integer> values) {
-			addCriterion("type not in", values, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeBetween(Integer value1, Integer value2) {
-			addCriterion("type between", value1, value2, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andTypeNotBetween(Integer value1, Integer value2) {
-			addCriterion("type not between", value1, value2, "type");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtIsNull() {
-			addCriterion("ext is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtIsNotNull() {
-			addCriterion("ext is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtEqualTo(String value) {
-			addCriterion("ext =", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtNotEqualTo(String value) {
-			addCriterion("ext <>", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtGreaterThan(String value) {
-			addCriterion("ext >", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtGreaterThanOrEqualTo(String value) {
-			addCriterion("ext >=", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtLessThan(String value) {
-			addCriterion("ext <", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtLessThanOrEqualTo(String value) {
-			addCriterion("ext <=", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtLike(String value) {
-			addCriterion("ext like", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtNotLike(String value) {
-			addCriterion("ext not like", value, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtIn(List<String> values) {
-			addCriterion("ext in", values, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtNotIn(List<String> values) {
-			addCriterion("ext not in", values, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtBetween(String value1, String value2) {
-			addCriterion("ext between", value1, value2, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andExtNotBetween(String value1, String value2) {
-			addCriterion("ext not between", value1, value2, "ext");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenIsNull() {
-			addCriterion("user_token is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenIsNotNull() {
-			addCriterion("user_token is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenEqualTo(String value) {
-			addCriterion("user_token =", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenNotEqualTo(String value) {
-			addCriterion("user_token <>", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenGreaterThan(String value) {
-			addCriterion("user_token >", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenGreaterThanOrEqualTo(String value) {
-			addCriterion("user_token >=", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenLessThan(String value) {
-			addCriterion("user_token <", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenLessThanOrEqualTo(String value) {
-			addCriterion("user_token <=", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenLike(String value) {
-			addCriterion("user_token like", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenNotLike(String value) {
-			addCriterion("user_token not like", value, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenIn(List<String> values) {
-			addCriterion("user_token in", values, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenNotIn(List<String> values) {
-			addCriterion("user_token not in", values, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenBetween(String value1, String value2) {
-			addCriterion("user_token between", value1, value2, "userToken");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserTokenNotBetween(String value1, String value2) {
-			addCriterion("user_token not between", value1, value2, "userToken");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table message
-	 * @mbggenerated  Tue Jul 04 19:30:51 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table message
-     *
-     * @mbggenerated do_not_delete_during_merge Tue Jul 04 09:34:21 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 437
cloud-socket/src/com/js/kbt/model/ParkOrder.java

@@ -1,437 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class ParkOrder {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.order_identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String orderIdentity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String identity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.order_type
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer orderType;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.startTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Date starttime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.endTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Date endtime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.user_id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer userId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.cost
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer cost;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.rule
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String rule;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.discount
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Double discount;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.useCoupon
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Boolean usecoupon;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.coupon_no
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String couponNo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.memo
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String memo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.address
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private String address;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.lng
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Double lng;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.lat
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Double lat;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.cost_origin
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer costOrigin;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.user_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer userIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.com_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer comIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column park_order.plat_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	private Integer platIncome;
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.id
-	 * @return  the value of park_order.id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.id
-	 * @param id  the value for park_order.id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.order_identity
-	 * @return  the value of park_order.order_identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getOrderIdentity() {
-		return orderIdentity;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.order_identity
-	 * @param orderIdentity  the value for park_order.order_identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setOrderIdentity(String orderIdentity) {
-		this.orderIdentity = orderIdentity;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.identity
-	 * @return  the value of park_order.identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getIdentity() {
-		return identity;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.identity
-	 * @param identity  the value for park_order.identity
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setIdentity(String identity) {
-		this.identity = identity;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.order_type
-	 * @return  the value of park_order.order_type
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getOrderType() {
-		return orderType;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.order_type
-	 * @param orderType  the value for park_order.order_type
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setOrderType(Integer orderType) {
-		this.orderType = orderType;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.startTime
-	 * @return  the value of park_order.startTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Date getStarttime() {
-		return starttime;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.startTime
-	 * @param starttime  the value for park_order.startTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setStarttime(Date starttime) {
-		this.starttime = starttime;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.endTime
-	 * @return  the value of park_order.endTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Date getEndtime() {
-		return endtime;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.endTime
-	 * @param endtime  the value for park_order.endTime
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setEndtime(Date endtime) {
-		this.endtime = endtime;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.user_id
-	 * @return  the value of park_order.user_id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getUserId() {
-		return userId;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.user_id
-	 * @param userId  the value for park_order.user_id
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setUserId(Integer userId) {
-		this.userId = userId;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.cost
-	 * @return  the value of park_order.cost
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getCost() {
-		return cost;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.cost
-	 * @param cost  the value for park_order.cost
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setCost(Integer cost) {
-		this.cost = cost;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.rule
-	 * @return  the value of park_order.rule
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getRule() {
-		return rule;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.rule
-	 * @param rule  the value for park_order.rule
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setRule(String rule) {
-		this.rule = rule;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.discount
-	 * @return  the value of park_order.discount
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Double getDiscount() {
-		return discount;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.discount
-	 * @param discount  the value for park_order.discount
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setDiscount(Double discount) {
-		this.discount = discount;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.useCoupon
-	 * @return  the value of park_order.useCoupon
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Boolean getUsecoupon() {
-		return usecoupon;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.useCoupon
-	 * @param usecoupon  the value for park_order.useCoupon
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setUsecoupon(Boolean usecoupon) {
-		this.usecoupon = usecoupon;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.coupon_no
-	 * @return  the value of park_order.coupon_no
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getCouponNo() {
-		return couponNo;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.coupon_no
-	 * @param couponNo  the value for park_order.coupon_no
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setCouponNo(String couponNo) {
-		this.couponNo = couponNo;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.memo
-	 * @return  the value of park_order.memo
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getMemo() {
-		return memo;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.memo
-	 * @param memo  the value for park_order.memo
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setMemo(String memo) {
-		this.memo = memo;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.address
-	 * @return  the value of park_order.address
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public String getAddress() {
-		return address;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.address
-	 * @param address  the value for park_order.address
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setAddress(String address) {
-		this.address = address;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.lng
-	 * @return  the value of park_order.lng
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Double getLng() {
-		return lng;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.lng
-	 * @param lng  the value for park_order.lng
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setLng(Double lng) {
-		this.lng = lng;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.lat
-	 * @return  the value of park_order.lat
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Double getLat() {
-		return lat;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.lat
-	 * @param lat  the value for park_order.lat
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setLat(Double lat) {
-		this.lat = lat;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.cost_origin
-	 * @return  the value of park_order.cost_origin
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getCostOrigin() {
-		return costOrigin;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.cost_origin
-	 * @param costOrigin  the value for park_order.cost_origin
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setCostOrigin(Integer costOrigin) {
-		this.costOrigin = costOrigin;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.user_income
-	 * @return  the value of park_order.user_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getUserIncome() {
-		return userIncome;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.user_income
-	 * @param userIncome  the value for park_order.user_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setUserIncome(Integer userIncome) {
-		this.userIncome = userIncome;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.com_income
-	 * @return  the value of park_order.com_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getComIncome() {
-		return comIncome;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.com_income
-	 * @param comIncome  the value for park_order.com_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setComIncome(Integer comIncome) {
-		this.comIncome = comIncome;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column park_order.plat_income
-	 * @return  the value of park_order.plat_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public Integer getPlatIncome() {
-		return platIncome;
-	}
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column park_order.plat_income
-	 * @param platIncome  the value for park_order.plat_income
-	 * @mbggenerated  Mon Nov 06 13:37:35 CST 2017
-	 */
-	public void setPlatIncome(Integer platIncome) {
-		this.platIncome = platIncome;
-	}
-	public static final int STATUS_UNPAY = 0;
-	public static final int STATUS_PAYED = 1;
-	
-	private Coupon coupon;
-	public Coupon getCoupon() {
-		return coupon;
-	}
-	public void setCoupon(Coupon coupon) {
-		this.coupon = coupon;
-	}
-	
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1532
cloud-socket/src/com/js/kbt/model/ParkOrderExample.java


+ 0 - 814
cloud-socket/src/com/js/kbt/model/ParkingPoint.java

@@ -1,814 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-import java.util.List;
-
-public class ParkingPoint {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.lat
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Double lat;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.lng
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Double lng;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.geo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String geo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.distance
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Double distance;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.identity
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String identity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.charge
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer charge;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.charge_rule
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer chargeRule;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.available
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Boolean available;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.last_occupier_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer lastOccupierId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.share_user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer shareUserId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.share_mobile
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String shareMobile;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.book_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Date bookTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.address
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String address;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.preferential
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String preferential;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.memo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String memo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.start_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String startDate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.end_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String endDate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.start_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String startTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.end_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String endTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.sms
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private String sms;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.code
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer code;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.charge_type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer chargeType;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer userId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.community_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer communityId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.share
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer share;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.setup
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer setup;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.status
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer status;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.free_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer freeTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer type;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.user_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer userIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.com_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer comIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.platfrom_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer platfromIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.point_state
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Integer pointState;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parking_point.battery
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	private Float battery;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.id
-	 * @return  the value of parking_point.id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.id
-	 * @param id  the value for parking_point.id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.lat
-	 * @return  the value of parking_point.lat
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Double getLat() {
-		return lat;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.lat
-	 * @param lat  the value for parking_point.lat
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setLat(Double lat) {
-		this.lat = lat;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.lng
-	 * @return  the value of parking_point.lng
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Double getLng() {
-		return lng;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.lng
-	 * @param lng  the value for parking_point.lng
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setLng(Double lng) {
-		this.lng = lng;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.geo
-	 * @return  the value of parking_point.geo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getGeo() {
-		return geo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.geo
-	 * @param geo  the value for parking_point.geo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setGeo(String geo) {
-		this.geo = geo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.distance
-	 * @return  the value of parking_point.distance
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Double getDistance() {
-		return distance;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.distance
-	 * @param distance  the value for parking_point.distance
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setDistance(Double distance) {
-		this.distance = distance;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.identity
-	 * @return  the value of parking_point.identity
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getIdentity() {
-		return identity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.identity
-	 * @param identity  the value for parking_point.identity
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setIdentity(String identity) {
-		this.identity = identity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.charge
-	 * @return  the value of parking_point.charge
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getCharge() {
-		return charge;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.charge
-	 * @param charge  the value for parking_point.charge
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setCharge(Integer charge) {
-		this.charge = charge;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.charge_rule
-	 * @return  the value of parking_point.charge_rule
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getChargeRule() {
-		return chargeRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.charge_rule
-	 * @param chargeRule  the value for parking_point.charge_rule
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setChargeRule(Integer chargeRule) {
-		this.chargeRule = chargeRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.available
-	 * @return  the value of parking_point.available
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Boolean getAvailable() {
-		return available;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.available
-	 * @param available  the value for parking_point.available
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setAvailable(Boolean available) {
-		this.available = available;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.last_occupier_id
-	 * @return  the value of parking_point.last_occupier_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getLastOccupierId() {
-		return lastOccupierId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.last_occupier_id
-	 * @param lastOccupierId  the value for parking_point.last_occupier_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setLastOccupierId(Integer lastOccupierId) {
-		this.lastOccupierId = lastOccupierId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.share_user_id
-	 * @return  the value of parking_point.share_user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getShareUserId() {
-		return shareUserId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.share_user_id
-	 * @param shareUserId  the value for parking_point.share_user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setShareUserId(Integer shareUserId) {
-		this.shareUserId = shareUserId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.share_mobile
-	 * @return  the value of parking_point.share_mobile
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getShareMobile() {
-		return shareMobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.share_mobile
-	 * @param shareMobile  the value for parking_point.share_mobile
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setShareMobile(String shareMobile) {
-		this.shareMobile = shareMobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.book_time
-	 * @return  the value of parking_point.book_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Date getBookTime() {
-		return bookTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.book_time
-	 * @param bookTime  the value for parking_point.book_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setBookTime(Date bookTime) {
-		this.bookTime = bookTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.address
-	 * @return  the value of parking_point.address
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getAddress() {
-		return address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.address
-	 * @param address  the value for parking_point.address
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.preferential
-	 * @return  the value of parking_point.preferential
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getPreferential() {
-		return preferential;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.preferential
-	 * @param preferential  the value for parking_point.preferential
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setPreferential(String preferential) {
-		this.preferential = preferential;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.memo
-	 * @return  the value of parking_point.memo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getMemo() {
-		return memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.memo
-	 * @param memo  the value for parking_point.memo
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setMemo(String memo) {
-		this.memo = memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.start_date
-	 * @return  the value of parking_point.start_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getStartDate() {
-		return startDate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.start_date
-	 * @param startDate  the value for parking_point.start_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setStartDate(String startDate) {
-		this.startDate = startDate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.end_date
-	 * @return  the value of parking_point.end_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getEndDate() {
-		return endDate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.end_date
-	 * @param endDate  the value for parking_point.end_date
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setEndDate(String endDate) {
-		this.endDate = endDate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.start_time
-	 * @return  the value of parking_point.start_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getStartTime() {
-		return startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.start_time
-	 * @param startTime  the value for parking_point.start_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setStartTime(String startTime) {
-		this.startTime = startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.end_time
-	 * @return  the value of parking_point.end_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getEndTime() {
-		return endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.end_time
-	 * @param endTime  the value for parking_point.end_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setEndTime(String endTime) {
-		this.endTime = endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.sms
-	 * @return  the value of parking_point.sms
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public String getSms() {
-		return sms;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.sms
-	 * @param sms  the value for parking_point.sms
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setSms(String sms) {
-		this.sms = sms;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.code
-	 * @return  the value of parking_point.code
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getCode() {
-		return code;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.code
-	 * @param code  the value for parking_point.code
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setCode(Integer code) {
-		this.code = code;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.charge_type
-	 * @return  the value of parking_point.charge_type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getChargeType() {
-		return chargeType;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.charge_type
-	 * @param chargeType  the value for parking_point.charge_type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setChargeType(Integer chargeType) {
-		this.chargeType = chargeType;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.user_id
-	 * @return  the value of parking_point.user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getUserId() {
-		return userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.user_id
-	 * @param userId  the value for parking_point.user_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setUserId(Integer userId) {
-		this.userId = userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.community_id
-	 * @return  the value of parking_point.community_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getCommunityId() {
-		return communityId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.community_id
-	 * @param communityId  the value for parking_point.community_id
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setCommunityId(Integer communityId) {
-		this.communityId = communityId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.share
-	 * @return  the value of parking_point.share
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getShare() {
-		return share;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.share
-	 * @param share  the value for parking_point.share
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setShare(Integer share) {
-		this.share = share;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.setup
-	 * @return  the value of parking_point.setup
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getSetup() {
-		return setup;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.setup
-	 * @param setup  the value for parking_point.setup
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setSetup(Integer setup) {
-		this.setup = setup;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.status
-	 * @return  the value of parking_point.status
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getStatus() {
-		return status;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.status
-	 * @param status  the value for parking_point.status
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setStatus(Integer status) {
-		this.status = status;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.free_time
-	 * @return  the value of parking_point.free_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getFreeTime() {
-		return freeTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.free_time
-	 * @param freeTime  the value for parking_point.free_time
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setFreeTime(Integer freeTime) {
-		this.freeTime = freeTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.type
-	 * @return  the value of parking_point.type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getType() {
-		return type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.type
-	 * @param type  the value for parking_point.type
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setType(Integer type) {
-		this.type = type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.user_income
-	 * @return  the value of parking_point.user_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getUserIncome() {
-		return userIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.user_income
-	 * @param userIncome  the value for parking_point.user_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setUserIncome(Integer userIncome) {
-		this.userIncome = userIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.com_income
-	 * @return  the value of parking_point.com_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getComIncome() {
-		return comIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.com_income
-	 * @param comIncome  the value for parking_point.com_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setComIncome(Integer comIncome) {
-		this.comIncome = comIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.platfrom_income
-	 * @return  the value of parking_point.platfrom_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getPlatfromIncome() {
-		return platfromIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.platfrom_income
-	 * @param platfromIncome  the value for parking_point.platfrom_income
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setPlatfromIncome(Integer platfromIncome) {
-		this.platfromIncome = platfromIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.point_state
-	 * @return  the value of parking_point.point_state
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Integer getPointState() {
-		return pointState;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.point_state
-	 * @param pointState  the value for parking_point.point_state
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setPointState(Integer pointState) {
-		this.pointState = pointState;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parking_point.battery
-	 * @return  the value of parking_point.battery
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public Float getBattery() {
-		return battery;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parking_point.battery
-	 * @param battery  the value for parking_point.battery
-	 * @mbg.generated  Tue Nov 07 15:07:09 CST 2017
-	 */
-	public void setBattery(Float battery) {
-		this.battery = battery;
-	}
-	
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 2472
cloud-socket/src/com/js/kbt/model/ParkingPointExample.java


+ 0 - 201
cloud-socket/src/com/js/kbt/model/ParkingpointAppyl.java

@@ -1,201 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.List;
-
-public class ParkingpointAppyl {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.name
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private String name;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.mobile
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private String mobile;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.addres
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private String addres;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.status
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private Integer status;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.msg
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private String msg;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.comname
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private String comname;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column parkingpoint_appyl.user_id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	private Integer userId;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.id
-	 * @return  the value of parkingpoint_appyl.id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.id
-	 * @param id  the value for parkingpoint_appyl.id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.name
-	 * @return  the value of parkingpoint_appyl.name
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.name
-	 * @param name  the value for parkingpoint_appyl.name
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.mobile
-	 * @return  the value of parkingpoint_appyl.mobile
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getMobile() {
-		return mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.mobile
-	 * @param mobile  the value for parkingpoint_appyl.mobile
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setMobile(String mobile) {
-		this.mobile = mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.addres
-	 * @return  the value of parkingpoint_appyl.addres
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getAddres() {
-		return addres;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.addres
-	 * @param addres  the value for parkingpoint_appyl.addres
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setAddres(String addres) {
-		this.addres = addres;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.status
-	 * @return  the value of parkingpoint_appyl.status
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public Integer getStatus() {
-		return status;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.status
-	 * @param status  the value for parkingpoint_appyl.status
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setStatus(Integer status) {
-		this.status = status;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.msg
-	 * @return  the value of parkingpoint_appyl.msg
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getMsg() {
-		return msg;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.msg
-	 * @param msg  the value for parkingpoint_appyl.msg
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.comname
-	 * @return  the value of parkingpoint_appyl.comname
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getComname() {
-		return comname;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.comname
-	 * @param comname  the value for parkingpoint_appyl.comname
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setComname(String comname) {
-		this.comname = comname;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column parkingpoint_appyl.user_id
-	 * @return  the value of parkingpoint_appyl.user_id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public Integer getUserId() {
-		return userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column parkingpoint_appyl.user_id
-	 * @param userId  the value for parkingpoint_appyl.user_id
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setUserId(Integer userId) {
-		this.userId = userId;
-	}
-	
-	public CommunityProperty comList;
-
-	public CommunityProperty getComList() {
-		return comList;
-	}
-
-	public void setComList(CommunityProperty com) {
-		this.comList = com;
-	}
-}

+ 0 - 796
cloud-socket/src/com/js/kbt/model/ParkingpointAppylExample.java

@@ -1,796 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ParkingpointAppylExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public ParkingpointAppylExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNull() {
-			addCriterion("name is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNotNull() {
-			addCriterion("name is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameEqualTo(String value) {
-			addCriterion("name =", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotEqualTo(String value) {
-			addCriterion("name <>", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThan(String value) {
-			addCriterion("name >", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThanOrEqualTo(String value) {
-			addCriterion("name >=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThan(String value) {
-			addCriterion("name <", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThanOrEqualTo(String value) {
-			addCriterion("name <=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLike(String value) {
-			addCriterion("name like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotLike(String value) {
-			addCriterion("name not like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIn(List<String> values) {
-			addCriterion("name in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotIn(List<String> values) {
-			addCriterion("name not in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameBetween(String value1, String value2) {
-			addCriterion("name between", value1, value2, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotBetween(String value1, String value2) {
-			addCriterion("name not between", value1, value2, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIsNull() {
-			addCriterion("mobile is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIsNotNull() {
-			addCriterion("mobile is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileEqualTo(String value) {
-			addCriterion("mobile =", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotEqualTo(String value) {
-			addCriterion("mobile <>", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileGreaterThan(String value) {
-			addCriterion("mobile >", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileGreaterThanOrEqualTo(String value) {
-			addCriterion("mobile >=", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLessThan(String value) {
-			addCriterion("mobile <", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLessThanOrEqualTo(String value) {
-			addCriterion("mobile <=", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLike(String value) {
-			addCriterion("mobile like", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotLike(String value) {
-			addCriterion("mobile not like", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIn(List<String> values) {
-			addCriterion("mobile in", values, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotIn(List<String> values) {
-			addCriterion("mobile not in", values, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileBetween(String value1, String value2) {
-			addCriterion("mobile between", value1, value2, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotBetween(String value1, String value2) {
-			addCriterion("mobile not between", value1, value2, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresIsNull() {
-			addCriterion("addres is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresIsNotNull() {
-			addCriterion("addres is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresEqualTo(String value) {
-			addCriterion("addres =", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresNotEqualTo(String value) {
-			addCriterion("addres <>", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresGreaterThan(String value) {
-			addCriterion("addres >", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresGreaterThanOrEqualTo(String value) {
-			addCriterion("addres >=", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresLessThan(String value) {
-			addCriterion("addres <", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresLessThanOrEqualTo(String value) {
-			addCriterion("addres <=", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresLike(String value) {
-			addCriterion("addres like", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresNotLike(String value) {
-			addCriterion("addres not like", value, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresIn(List<String> values) {
-			addCriterion("addres in", values, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresNotIn(List<String> values) {
-			addCriterion("addres not in", values, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresBetween(String value1, String value2) {
-			addCriterion("addres between", value1, value2, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andAddresNotBetween(String value1, String value2) {
-			addCriterion("addres not between", value1, value2, "addres");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusIsNull() {
-			addCriterion("status is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusIsNotNull() {
-			addCriterion("status is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusEqualTo(Integer value) {
-			addCriterion("status =", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusNotEqualTo(Integer value) {
-			addCriterion("status <>", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusGreaterThan(Integer value) {
-			addCriterion("status >", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
-			addCriterion("status >=", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusLessThan(Integer value) {
-			addCriterion("status <", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusLessThanOrEqualTo(Integer value) {
-			addCriterion("status <=", value, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusIn(List<Integer> values) {
-			addCriterion("status in", values, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusNotIn(List<Integer> values) {
-			addCriterion("status not in", values, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusBetween(Integer value1, Integer value2) {
-			addCriterion("status between", value1, value2, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andStatusNotBetween(Integer value1, Integer value2) {
-			addCriterion("status not between", value1, value2, "status");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIsNull() {
-			addCriterion("msg is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIsNotNull() {
-			addCriterion("msg is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgEqualTo(String value) {
-			addCriterion("msg =", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotEqualTo(String value) {
-			addCriterion("msg <>", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgGreaterThan(String value) {
-			addCriterion("msg >", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgGreaterThanOrEqualTo(String value) {
-			addCriterion("msg >=", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLessThan(String value) {
-			addCriterion("msg <", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLessThanOrEqualTo(String value) {
-			addCriterion("msg <=", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgLike(String value) {
-			addCriterion("msg like", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotLike(String value) {
-			addCriterion("msg not like", value, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgIn(List<String> values) {
-			addCriterion("msg in", values, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotIn(List<String> values) {
-			addCriterion("msg not in", values, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgBetween(String value1, String value2) {
-			addCriterion("msg between", value1, value2, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andMsgNotBetween(String value1, String value2) {
-			addCriterion("msg not between", value1, value2, "msg");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameIsNull() {
-			addCriterion("comname is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameIsNotNull() {
-			addCriterion("comname is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameEqualTo(String value) {
-			addCriterion("comname =", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameNotEqualTo(String value) {
-			addCriterion("comname <>", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameGreaterThan(String value) {
-			addCriterion("comname >", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameGreaterThanOrEqualTo(String value) {
-			addCriterion("comname >=", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameLessThan(String value) {
-			addCriterion("comname <", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameLessThanOrEqualTo(String value) {
-			addCriterion("comname <=", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameLike(String value) {
-			addCriterion("comname like", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameNotLike(String value) {
-			addCriterion("comname not like", value, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameIn(List<String> values) {
-			addCriterion("comname in", values, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameNotIn(List<String> values) {
-			addCriterion("comname not in", values, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameBetween(String value1, String value2) {
-			addCriterion("comname between", value1, value2, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andComnameNotBetween(String value1, String value2) {
-			addCriterion("comname not between", value1, value2, "comname");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIsNull() {
-			addCriterion("user_id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIsNotNull() {
-			addCriterion("user_id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdEqualTo(Integer value) {
-			addCriterion("user_id =", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotEqualTo(Integer value) {
-			addCriterion("user_id <>", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdGreaterThan(Integer value) {
-			addCriterion("user_id >", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("user_id >=", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdLessThan(Integer value) {
-			addCriterion("user_id <", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdLessThanOrEqualTo(Integer value) {
-			addCriterion("user_id <=", value, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdIn(List<Integer> values) {
-			addCriterion("user_id in", values, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotIn(List<Integer> values) {
-			addCriterion("user_id not in", values, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdBetween(Integer value1, Integer value2) {
-			addCriterion("user_id between", value1, value2, "userId");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("user_id not between", value1, value2, "userId");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table parkingpoint_appyl
-	 * @mbggenerated  Mon Nov 06 13:40:21 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table parkingpoint_appyl
-     *
-     * @mbggenerated do_not_delete_during_merge Wed Oct 25 08:58:44 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 97
cloud-socket/src/com/js/kbt/model/Platform.java

@@ -1,97 +0,0 @@
-package com.js.kbt.model;
-
-public class Platform {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column platform.id
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column platform.name
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	private String name;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column platform.count
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	private String count;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column platform.money
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	private Integer money;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column platform.id
-	 * @return  the value of platform.id
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column platform.id
-	 * @param id  the value for platform.id
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column platform.name
-	 * @return  the value of platform.name
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column platform.name
-	 * @param name  the value for platform.name
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column platform.count
-	 * @return  the value of platform.count
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public String getCount() {
-		return count;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column platform.count
-	 * @param count  the value for platform.count
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setCount(String count) {
-		this.count = count;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column platform.money
-	 * @return  the value of platform.money
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public Integer getMoney() {
-		return money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column platform.money
-	 * @param money  the value for platform.money
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setMoney(Integer money) {
-		this.money = money;
-	}
-}

+ 0 - 526
cloud-socket/src/com/js/kbt/model/PlatformExample.java

@@ -1,526 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class PlatformExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public PlatformExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNull() {
-			addCriterion("name is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIsNotNull() {
-			addCriterion("name is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameEqualTo(String value) {
-			addCriterion("name =", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotEqualTo(String value) {
-			addCriterion("name <>", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThan(String value) {
-			addCriterion("name >", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameGreaterThanOrEqualTo(String value) {
-			addCriterion("name >=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThan(String value) {
-			addCriterion("name <", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLessThanOrEqualTo(String value) {
-			addCriterion("name <=", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameLike(String value) {
-			addCriterion("name like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotLike(String value) {
-			addCriterion("name not like", value, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameIn(List<String> values) {
-			addCriterion("name in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotIn(List<String> values) {
-			addCriterion("name not in", values, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameBetween(String value1, String value2) {
-			addCriterion("name between", value1, value2, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andNameNotBetween(String value1, String value2) {
-			addCriterion("name not between", value1, value2, "name");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountIsNull() {
-			addCriterion("count is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountIsNotNull() {
-			addCriterion("count is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountEqualTo(String value) {
-			addCriterion("count =", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountNotEqualTo(String value) {
-			addCriterion("count <>", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountGreaterThan(String value) {
-			addCriterion("count >", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountGreaterThanOrEqualTo(String value) {
-			addCriterion("count >=", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountLessThan(String value) {
-			addCriterion("count <", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountLessThanOrEqualTo(String value) {
-			addCriterion("count <=", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountLike(String value) {
-			addCriterion("count like", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountNotLike(String value) {
-			addCriterion("count not like", value, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountIn(List<String> values) {
-			addCriterion("count in", values, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountNotIn(List<String> values) {
-			addCriterion("count not in", values, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountBetween(String value1, String value2) {
-			addCriterion("count between", value1, value2, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andCountNotBetween(String value1, String value2) {
-			addCriterion("count not between", value1, value2, "count");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIsNull() {
-			addCriterion("money is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIsNotNull() {
-			addCriterion("money is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyEqualTo(Integer value) {
-			addCriterion("money =", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotEqualTo(Integer value) {
-			addCriterion("money <>", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyGreaterThan(Integer value) {
-			addCriterion("money >", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyGreaterThanOrEqualTo(Integer value) {
-			addCriterion("money >=", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyLessThan(Integer value) {
-			addCriterion("money <", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyLessThanOrEqualTo(Integer value) {
-			addCriterion("money <=", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIn(List<Integer> values) {
-			addCriterion("money in", values, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotIn(List<Integer> values) {
-			addCriterion("money not in", values, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyBetween(Integer value1, Integer value2) {
-			addCriterion("money between", value1, value2, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotBetween(Integer value1, Integer value2) {
-			addCriterion("money not between", value1, value2, "money");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table platform
-	 * @mbggenerated  Mon Nov 06 13:44:29 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table platform
-     *
-     * @mbggenerated do_not_delete_during_merge Mon Nov 06 13:14:20 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 74
cloud-socket/src/com/js/kbt/model/ShareDate.java

@@ -1,74 +0,0 @@
-package com.js.kbt.model;
-
-public class ShareDate {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column share_date.id
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column share_date.park_identity
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	private String parkIdentity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column share_date.week_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	private Integer weekDate;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column share_date.id
-	 * @return  the value of share_date.id
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column share_date.id
-	 * @param id  the value for share_date.id
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column share_date.park_identity
-	 * @return  the value of share_date.park_identity
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public String getParkIdentity() {
-		return parkIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column share_date.park_identity
-	 * @param parkIdentity  the value for share_date.park_identity
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void setParkIdentity(String parkIdentity) {
-		this.parkIdentity = parkIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column share_date.week_date
-	 * @return  the value of share_date.week_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public Integer getWeekDate() {
-		return weekDate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column share_date.week_date
-	 * @param weekDate  the value for share_date.week_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void setWeekDate(Integer weekDate) {
-		this.weekDate = weekDate;
-	}
-}

+ 0 - 458
cloud-socket/src/com/js/kbt/model/ShareDateExample.java

@@ -1,458 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ShareDateExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public ShareDateExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityIsNull() {
-			addCriterion("park_identity is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityIsNotNull() {
-			addCriterion("park_identity is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityEqualTo(String value) {
-			addCriterion("park_identity =", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityNotEqualTo(String value) {
-			addCriterion("park_identity <>", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityGreaterThan(String value) {
-			addCriterion("park_identity >", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityGreaterThanOrEqualTo(String value) {
-			addCriterion("park_identity >=", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityLessThan(String value) {
-			addCriterion("park_identity <", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityLessThanOrEqualTo(String value) {
-			addCriterion("park_identity <=", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityLike(String value) {
-			addCriterion("park_identity like", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityNotLike(String value) {
-			addCriterion("park_identity not like", value, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityIn(List<String> values) {
-			addCriterion("park_identity in", values, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityNotIn(List<String> values) {
-			addCriterion("park_identity not in", values, "parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityBetween(String value1, String value2) {
-			addCriterion("park_identity between", value1, value2,
-					"parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andParkIdentityNotBetween(String value1, String value2) {
-			addCriterion("park_identity not between", value1, value2,
-					"parkIdentity");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateIsNull() {
-			addCriterion("week_date is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateIsNotNull() {
-			addCriterion("week_date is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateEqualTo(Integer value) {
-			addCriterion("week_date =", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateNotEqualTo(Integer value) {
-			addCriterion("week_date <>", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateGreaterThan(Integer value) {
-			addCriterion("week_date >", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateGreaterThanOrEqualTo(Integer value) {
-			addCriterion("week_date >=", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateLessThan(Integer value) {
-			addCriterion("week_date <", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateLessThanOrEqualTo(Integer value) {
-			addCriterion("week_date <=", value, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateIn(List<Integer> values) {
-			addCriterion("week_date in", values, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateNotIn(List<Integer> values) {
-			addCriterion("week_date not in", values, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateBetween(Integer value1, Integer value2) {
-			addCriterion("week_date between", value1, value2, "weekDate");
-			return (Criteria) this;
-		}
-
-		public Criteria andWeekDateNotBetween(Integer value1, Integer value2) {
-			addCriterion("week_date not between", value1, value2, "weekDate");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table share_date
-	 * @mbggenerated  Wed Oct 25 09:21:18 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table share_date
-     *
-     * @mbggenerated do_not_delete_during_merge Wed Oct 25 09:46:21 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 566 - 0
cloud-socket/src/com/js/kbt/model/TbUser.java

@@ -0,0 +1,566 @@
+package com.js.kbt.model;
+
+import java.util.Date;
+
+public class TbUser {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.account
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String account;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.username
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String username;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.password
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String password;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.mobile
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String mobile;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.role_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer roleType;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.company_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer companyId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.parent_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer parentId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.sex
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer sex;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.role_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String roleName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.work_state
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer workState;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.is_disable
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer isDisable;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.indate
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Date indate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.head_imgurl
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String headImgurl;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.team_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String teamName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.subordinate_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private Integer subordinateType;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column tb_user.openid
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    private String openid;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.id
+     *
+     * @return the value of tb_user.id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.id
+     *
+     * @param id the value for tb_user.id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.account
+     *
+     * @return the value of tb_user.account
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getAccount() {
+        return account;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.account
+     *
+     * @param account the value for tb_user.account
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setAccount(String account) {
+        this.account = account;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.username
+     *
+     * @return the value of tb_user.username
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getUsername() {
+        return username;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.username
+     *
+     * @param username the value for tb_user.username
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setUsername(String username) {
+        this.username = username;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.password
+     *
+     * @return the value of tb_user.password
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getPassword() {
+        return password;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.password
+     *
+     * @param password the value for tb_user.password
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setPassword(String password) {
+        this.password = password;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.mobile
+     *
+     * @return the value of tb_user.mobile
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getMobile() {
+        return mobile;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.mobile
+     *
+     * @param mobile the value for tb_user.mobile
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setMobile(String mobile) {
+        this.mobile = mobile;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.role_type
+     *
+     * @return the value of tb_user.role_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getRoleType() {
+        return roleType;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.role_type
+     *
+     * @param roleType the value for tb_user.role_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setRoleType(Integer roleType) {
+        this.roleType = roleType;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.company_id
+     *
+     * @return the value of tb_user.company_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getCompanyId() {
+        return companyId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.company_id
+     *
+     * @param companyId the value for tb_user.company_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setCompanyId(Integer companyId) {
+        this.companyId = companyId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.parent_id
+     *
+     * @return the value of tb_user.parent_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getParentId() {
+        return parentId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.parent_id
+     *
+     * @param parentId the value for tb_user.parent_id
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setParentId(Integer parentId) {
+        this.parentId = parentId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.sex
+     *
+     * @return the value of tb_user.sex
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getSex() {
+        return sex;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.sex
+     *
+     * @param sex the value for tb_user.sex
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setSex(Integer sex) {
+        this.sex = sex;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.role_name
+     *
+     * @return the value of tb_user.role_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getRoleName() {
+        return roleName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.role_name
+     *
+     * @param roleName the value for tb_user.role_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setRoleName(String roleName) {
+        this.roleName = roleName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.work_state
+     *
+     * @return the value of tb_user.work_state
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getWorkState() {
+        return workState;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.work_state
+     *
+     * @param workState the value for tb_user.work_state
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setWorkState(Integer workState) {
+        this.workState = workState;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.is_disable
+     *
+     * @return the value of tb_user.is_disable
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getIsDisable() {
+        return isDisable;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.is_disable
+     *
+     * @param isDisable the value for tb_user.is_disable
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setIsDisable(Integer isDisable) {
+        this.isDisable = isDisable;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.indate
+     *
+     * @return the value of tb_user.indate
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Date getIndate() {
+        return indate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.indate
+     *
+     * @param indate the value for tb_user.indate
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setIndate(Date indate) {
+        this.indate = indate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.head_imgurl
+     *
+     * @return the value of tb_user.head_imgurl
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getHeadImgurl() {
+        return headImgurl;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.head_imgurl
+     *
+     * @param headImgurl the value for tb_user.head_imgurl
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setHeadImgurl(String headImgurl) {
+        this.headImgurl = headImgurl;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.team_name
+     *
+     * @return the value of tb_user.team_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getTeamName() {
+        return teamName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.team_name
+     *
+     * @param teamName the value for tb_user.team_name
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setTeamName(String teamName) {
+        this.teamName = teamName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.subordinate_type
+     *
+     * @return the value of tb_user.subordinate_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public Integer getSubordinateType() {
+        return subordinateType;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.subordinate_type
+     *
+     * @param subordinateType the value for tb_user.subordinate_type
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setSubordinateType(Integer subordinateType) {
+        this.subordinateType = subordinateType;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column tb_user.openid
+     *
+     * @return the value of tb_user.openid
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public String getOpenid() {
+        return openid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column tb_user.openid
+     *
+     * @param openid the value for tb_user.openid
+     *
+     * @mbg.generated Thu Aug 08 16:22:07 CST 2019
+     */
+    public void setOpenid(String openid) {
+        this.openid = openid;
+    }
+}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1403 - 0
cloud-socket/src/com/js/kbt/model/TbUserExample.java


+ 0 - 352
cloud-socket/src/com/js/kbt/model/User.java

@@ -1,352 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class User {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.mobile
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String mobile;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.avatar
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String avatar;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.nickname
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String nickname;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.token
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String token;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.money
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Integer money;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.indate
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Date indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.device_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String deviceId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.address
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String address;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.income
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Integer income;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.car_no
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String carNo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.com_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Integer comId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.count
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String count;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.qr_code
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private String qrCode;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.is_owner
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	private Integer isOwner;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.id
-	 * @return  the value of user.id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.id
-	 * @param id  the value for user.id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.mobile
-	 * @return  the value of user.mobile
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getMobile() {
-		return mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.mobile
-	 * @param mobile  the value for user.mobile
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setMobile(String mobile) {
-		this.mobile = mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.avatar
-	 * @return  the value of user.avatar
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getAvatar() {
-		return avatar;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.avatar
-	 * @param avatar  the value for user.avatar
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setAvatar(String avatar) {
-		this.avatar = avatar;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.nickname
-	 * @return  the value of user.nickname
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getNickname() {
-		return nickname;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.nickname
-	 * @param nickname  the value for user.nickname
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setNickname(String nickname) {
-		this.nickname = nickname;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.token
-	 * @return  the value of user.token
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getToken() {
-		return token;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.token
-	 * @param token  the value for user.token
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setToken(String token) {
-		this.token = token;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.money
-	 * @return  the value of user.money
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Integer getMoney() {
-		return money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.money
-	 * @param money  the value for user.money
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setMoney(Integer money) {
-		this.money = money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.indate
-	 * @return  the value of user.indate
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.indate
-	 * @param indate  the value for user.indate
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.device_id
-	 * @return  the value of user.device_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getDeviceId() {
-		return deviceId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.device_id
-	 * @param deviceId  the value for user.device_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setDeviceId(String deviceId) {
-		this.deviceId = deviceId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.address
-	 * @return  the value of user.address
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getAddress() {
-		return address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.address
-	 * @param address  the value for user.address
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.income
-	 * @return  the value of user.income
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Integer getIncome() {
-		return income;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.income
-	 * @param income  the value for user.income
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setIncome(Integer income) {
-		this.income = income;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.car_no
-	 * @return  the value of user.car_no
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getCarNo() {
-		return carNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.car_no
-	 * @param carNo  the value for user.car_no
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setCarNo(String carNo) {
-		this.carNo = carNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.com_id
-	 * @return  the value of user.com_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Integer getComId() {
-		return comId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.com_id
-	 * @param comId  the value for user.com_id
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setComId(Integer comId) {
-		this.comId = comId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.count
-	 * @return  the value of user.count
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getCount() {
-		return count;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.count
-	 * @param count  the value for user.count
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setCount(String count) {
-		this.count = count;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.qr_code
-	 * @return  the value of user.qr_code
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public String getQrCode() {
-		return qrCode;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.qr_code
-	 * @param qrCode  the value for user.qr_code
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setQrCode(String qrCode) {
-		this.qrCode = qrCode;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.is_owner
-	 * @return  the value of user.is_owner
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public Integer getIsOwner() {
-		return isOwner;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.is_owner
-	 * @param isOwner  the value for user.is_owner
-	 * @mbggenerated  Mon Nov 06 13:39:10 CST 2017
-	 */
-	public void setIsOwner(Integer isOwner) {
-		this.isOwner = isOwner;
-	}
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1257
cloud-socket/src/com/js/kbt/model/UserExample.java


+ 0 - 99
cloud-socket/src/com/js/kbt/model/UserNum.java

@@ -1,99 +0,0 @@
-package com.js.kbt.model;
-
-public class UserNum {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column user_num.id
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    private Integer id;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column user_num.indate
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    private String indate;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column user_num.sl
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    private Integer sl;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column user_num.id
-     *
-     * @return the value of user_num.id
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public Integer getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column user_num.id
-     *
-     * @param id the value for user_num.id
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column user_num.indate
-     *
-     * @return the value of user_num.indate
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public String getIndate() {
-        return indate;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column user_num.indate
-     *
-     * @param indate the value for user_num.indate
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void setIndate(String indate) {
-        this.indate = indate;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column user_num.sl
-     *
-     * @return the value of user_num.sl
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public Integer getSl() {
-        return sl;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column user_num.sl
-     *
-     * @param sl the value for user_num.sl
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void setSl(Integer sl) {
-        this.sl = sl;
-    }
-}

+ 0 - 492
cloud-socket/src/com/js/kbt/model/UserNumExample.java

@@ -1,492 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class UserNumExample {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    protected String orderByClause;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    protected boolean distinct;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    protected List<Criteria> oredCriteria;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public UserNumExample() {
-        oredCriteria = new ArrayList<Criteria>();
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<Criterion>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andIdIsNull() {
-            addCriterion("id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIsNotNull() {
-            addCriterion("id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdEqualTo(Integer value) {
-            addCriterion("id =", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotEqualTo(Integer value) {
-            addCriterion("id <>", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThan(Integer value) {
-            addCriterion("id >", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-            addCriterion("id >=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThan(Integer value) {
-            addCriterion("id <", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThanOrEqualTo(Integer value) {
-            addCriterion("id <=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIn(List<Integer> values) {
-            addCriterion("id in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotIn(List<Integer> values) {
-            addCriterion("id not in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdBetween(Integer value1, Integer value2) {
-            addCriterion("id between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotBetween(Integer value1, Integer value2) {
-            addCriterion("id not between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIsNull() {
-            addCriterion("indate is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIsNotNull() {
-            addCriterion("indate is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateEqualTo(String value) {
-            addCriterion("indate =", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotEqualTo(String value) {
-            addCriterion("indate <>", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateGreaterThan(String value) {
-            addCriterion("indate >", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateGreaterThanOrEqualTo(String value) {
-            addCriterion("indate >=", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateLessThan(String value) {
-            addCriterion("indate <", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateLessThanOrEqualTo(String value) {
-            addCriterion("indate <=", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateLike(String value) {
-            addCriterion("indate like", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotLike(String value) {
-            addCriterion("indate not like", value, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateIn(List<String> values) {
-            addCriterion("indate in", values, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotIn(List<String> values) {
-            addCriterion("indate not in", values, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateBetween(String value1, String value2) {
-            addCriterion("indate between", value1, value2, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andIndateNotBetween(String value1, String value2) {
-            addCriterion("indate not between", value1, value2, "indate");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIsNull() {
-            addCriterion("sl is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIsNotNull() {
-            addCriterion("sl is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlEqualTo(Integer value) {
-            addCriterion("sl =", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotEqualTo(Integer value) {
-            addCriterion("sl <>", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlGreaterThan(Integer value) {
-            addCriterion("sl >", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlGreaterThanOrEqualTo(Integer value) {
-            addCriterion("sl >=", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlLessThan(Integer value) {
-            addCriterion("sl <", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlLessThanOrEqualTo(Integer value) {
-            addCriterion("sl <=", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIn(List<Integer> values) {
-            addCriterion("sl in", values, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotIn(List<Integer> values) {
-            addCriterion("sl not in", values, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlBetween(Integer value1, Integer value2) {
-            addCriterion("sl between", value1, value2, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotBetween(Integer value1, Integer value2) {
-            addCriterion("sl not between", value1, value2, "sl");
-            return (Criteria) this;
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table user_num
-     *
-     * @mbggenerated do_not_delete_during_merge Tue Nov 21 11:22:20 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table user_num
-     *
-     * @mbggenerated Tue Nov 21 11:22:20 CST 2017
-     */
-    public static class Criterion {
-        private String condition;
-
-        private Object value;
-
-        private Object secondValue;
-
-        private boolean noValue;
-
-        private boolean singleValue;
-
-        private boolean betweenValue;
-
-        private boolean listValue;
-
-        private String typeHandler;
-
-        public String getCondition() {
-            return condition;
-        }
-
-        public Object getValue() {
-            return value;
-        }
-
-        public Object getSecondValue() {
-            return secondValue;
-        }
-
-        public boolean isNoValue() {
-            return noValue;
-        }
-
-        public boolean isSingleValue() {
-            return singleValue;
-        }
-
-        public boolean isBetweenValue() {
-            return betweenValue;
-        }
-
-        public boolean isListValue() {
-            return listValue;
-        }
-
-        public String getTypeHandler() {
-            return typeHandler;
-        }
-
-        protected Criterion(String condition) {
-            super();
-            this.condition = condition;
-            this.typeHandler = null;
-            this.noValue = true;
-        }
-
-        protected Criterion(String condition, Object value, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.typeHandler = typeHandler;
-            if (value instanceof List<?>) {
-                this.listValue = true;
-            } else {
-                this.singleValue = true;
-            }
-        }
-
-        protected Criterion(String condition, Object value) {
-            this(condition, value, null);
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.secondValue = secondValue;
-            this.typeHandler = typeHandler;
-            this.betweenValue = true;
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue) {
-            this(condition, value, secondValue, null);
-        }
-    }
-}

+ 0 - 99
cloud-socket/src/com/js/kbt/model/Vcode.java

@@ -1,99 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class Vcode {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcode.id
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcode.mobile
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	private String mobile;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcode.vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	private String vcode;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcode.indate
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	private Date indate;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcode.id
-	 * @return  the value of vcode.id
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcode.id
-	 * @param id  the value for vcode.id
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcode.mobile
-	 * @return  the value of vcode.mobile
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public String getMobile() {
-		return mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcode.mobile
-	 * @param mobile  the value for vcode.mobile
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setMobile(String mobile) {
-		this.mobile = mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcode.vcode
-	 * @return  the value of vcode.vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public String getVcode() {
-		return vcode;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcode.vcode
-	 * @param vcode  the value for vcode.vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setVcode(String vcode) {
-		this.vcode = vcode;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcode.indate
-	 * @return  the value of vcode.indate
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcode.indate
-	 * @param indate  the value for vcode.indate
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-}

+ 0 - 527
cloud-socket/src/com/js/kbt/model/VcodeExample.java

@@ -1,527 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class VcodeExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public VcodeExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andIdIsNull() {
-			addCriterion("id is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIsNotNull() {
-			addCriterion("id is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdEqualTo(Integer value) {
-			addCriterion("id =", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotEqualTo(Integer value) {
-			addCriterion("id <>", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThan(Integer value) {
-			addCriterion("id >", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
-			addCriterion("id >=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThan(Integer value) {
-			addCriterion("id <", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdLessThanOrEqualTo(Integer value) {
-			addCriterion("id <=", value, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdIn(List<Integer> values) {
-			addCriterion("id in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotIn(List<Integer> values) {
-			addCriterion("id not in", values, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdBetween(Integer value1, Integer value2) {
-			addCriterion("id between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andIdNotBetween(Integer value1, Integer value2) {
-			addCriterion("id not between", value1, value2, "id");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIsNull() {
-			addCriterion("mobile is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIsNotNull() {
-			addCriterion("mobile is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileEqualTo(String value) {
-			addCriterion("mobile =", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotEqualTo(String value) {
-			addCriterion("mobile <>", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileGreaterThan(String value) {
-			addCriterion("mobile >", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileGreaterThanOrEqualTo(String value) {
-			addCriterion("mobile >=", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLessThan(String value) {
-			addCriterion("mobile <", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLessThanOrEqualTo(String value) {
-			addCriterion("mobile <=", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileLike(String value) {
-			addCriterion("mobile like", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotLike(String value) {
-			addCriterion("mobile not like", value, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileIn(List<String> values) {
-			addCriterion("mobile in", values, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotIn(List<String> values) {
-			addCriterion("mobile not in", values, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileBetween(String value1, String value2) {
-			addCriterion("mobile between", value1, value2, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andMobileNotBetween(String value1, String value2) {
-			addCriterion("mobile not between", value1, value2, "mobile");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeIsNull() {
-			addCriterion("vcode is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeIsNotNull() {
-			addCriterion("vcode is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeEqualTo(String value) {
-			addCriterion("vcode =", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeNotEqualTo(String value) {
-			addCriterion("vcode <>", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeGreaterThan(String value) {
-			addCriterion("vcode >", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeGreaterThanOrEqualTo(String value) {
-			addCriterion("vcode >=", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeLessThan(String value) {
-			addCriterion("vcode <", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeLessThanOrEqualTo(String value) {
-			addCriterion("vcode <=", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeLike(String value) {
-			addCriterion("vcode like", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeNotLike(String value) {
-			addCriterion("vcode not like", value, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeIn(List<String> values) {
-			addCriterion("vcode in", values, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeNotIn(List<String> values) {
-			addCriterion("vcode not in", values, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeBetween(String value1, String value2) {
-			addCriterion("vcode between", value1, value2, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andVcodeNotBetween(String value1, String value2) {
-			addCriterion("vcode not between", value1, value2, "vcode");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNull() {
-			addCriterion("indate is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIsNotNull() {
-			addCriterion("indate is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateEqualTo(Date value) {
-			addCriterion("indate =", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotEqualTo(Date value) {
-			addCriterion("indate <>", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThan(Date value) {
-			addCriterion("indate >", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateGreaterThanOrEqualTo(Date value) {
-			addCriterion("indate >=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThan(Date value) {
-			addCriterion("indate <", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateLessThanOrEqualTo(Date value) {
-			addCriterion("indate <=", value, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateIn(List<Date> values) {
-			addCriterion("indate in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotIn(List<Date> values) {
-			addCriterion("indate not in", values, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateBetween(Date value1, Date value2) {
-			addCriterion("indate between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-
-		public Criteria andIndateNotBetween(Date value1, Date value2) {
-			addCriterion("indate not between", value1, value2, "indate");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table vcode
-	 * @mbggenerated  Tue Jul 04 16:24:58 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table vcode
-     *
-     * @mbggenerated do_not_delete_during_merge Thu Jun 29 14:47:28 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 444
cloud-socket/src/com/js/kbt/model/Vcoupon.java

@@ -1,444 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class Vcoupon {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.coupon_no
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String couponNo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.order_identity
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String orderIdentity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.type
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Integer type;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.ower_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Integer owerId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.coupon_amount
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Integer couponAmount;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.coupon_rule
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String couponRule;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.start_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Date startTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.end_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Date endTime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.area_limit
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String areaLimit;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.time_s
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String timeS;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.time_e
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String timeE;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.channel
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String channel;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.title
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String title;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.descp
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String descp;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.memo
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String memo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.indate
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Date indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.type_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private Integer typeId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vcoupon.mobile
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	private String mobile;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.id
-	 * @return  the value of vcoupon.id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.id
-	 * @param id  the value for vcoupon.id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.coupon_no
-	 * @return  the value of vcoupon.coupon_no
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getCouponNo() {
-		return couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.coupon_no
-	 * @param couponNo  the value for vcoupon.coupon_no
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setCouponNo(String couponNo) {
-		this.couponNo = couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.order_identity
-	 * @return  the value of vcoupon.order_identity
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getOrderIdentity() {
-		return orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.order_identity
-	 * @param orderIdentity  the value for vcoupon.order_identity
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setOrderIdentity(String orderIdentity) {
-		this.orderIdentity = orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.type
-	 * @return  the value of vcoupon.type
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Integer getType() {
-		return type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.type
-	 * @param type  the value for vcoupon.type
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setType(Integer type) {
-		this.type = type;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.ower_id
-	 * @return  the value of vcoupon.ower_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Integer getOwerId() {
-		return owerId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.ower_id
-	 * @param owerId  the value for vcoupon.ower_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setOwerId(Integer owerId) {
-		this.owerId = owerId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.coupon_amount
-	 * @return  the value of vcoupon.coupon_amount
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Integer getCouponAmount() {
-		return couponAmount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.coupon_amount
-	 * @param couponAmount  the value for vcoupon.coupon_amount
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setCouponAmount(Integer couponAmount) {
-		this.couponAmount = couponAmount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.coupon_rule
-	 * @return  the value of vcoupon.coupon_rule
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getCouponRule() {
-		return couponRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.coupon_rule
-	 * @param couponRule  the value for vcoupon.coupon_rule
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setCouponRule(String couponRule) {
-		this.couponRule = couponRule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.start_time
-	 * @return  the value of vcoupon.start_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Date getStartTime() {
-		return startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.start_time
-	 * @param startTime  the value for vcoupon.start_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setStartTime(Date startTime) {
-		this.startTime = startTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.end_time
-	 * @return  the value of vcoupon.end_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Date getEndTime() {
-		return endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.end_time
-	 * @param endTime  the value for vcoupon.end_time
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setEndTime(Date endTime) {
-		this.endTime = endTime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.area_limit
-	 * @return  the value of vcoupon.area_limit
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getAreaLimit() {
-		return areaLimit;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.area_limit
-	 * @param areaLimit  the value for vcoupon.area_limit
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setAreaLimit(String areaLimit) {
-		this.areaLimit = areaLimit;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.time_s
-	 * @return  the value of vcoupon.time_s
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getTimeS() {
-		return timeS;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.time_s
-	 * @param timeS  the value for vcoupon.time_s
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setTimeS(String timeS) {
-		this.timeS = timeS;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.time_e
-	 * @return  the value of vcoupon.time_e
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getTimeE() {
-		return timeE;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.time_e
-	 * @param timeE  the value for vcoupon.time_e
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setTimeE(String timeE) {
-		this.timeE = timeE;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.channel
-	 * @return  the value of vcoupon.channel
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getChannel() {
-		return channel;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.channel
-	 * @param channel  the value for vcoupon.channel
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setChannel(String channel) {
-		this.channel = channel;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.title
-	 * @return  the value of vcoupon.title
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getTitle() {
-		return title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.title
-	 * @param title  the value for vcoupon.title
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.descp
-	 * @return  the value of vcoupon.descp
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getDescp() {
-		return descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.descp
-	 * @param descp  the value for vcoupon.descp
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setDescp(String descp) {
-		this.descp = descp;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.memo
-	 * @return  the value of vcoupon.memo
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getMemo() {
-		return memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.memo
-	 * @param memo  the value for vcoupon.memo
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setMemo(String memo) {
-		this.memo = memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.indate
-	 * @return  the value of vcoupon.indate
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Date getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.indate
-	 * @param indate  the value for vcoupon.indate
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setIndate(Date indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.type_id
-	 * @return  the value of vcoupon.type_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public Integer getTypeId() {
-		return typeId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.type_id
-	 * @param typeId  the value for vcoupon.type_id
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setTypeId(Integer typeId) {
-		this.typeId = typeId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vcoupon.mobile
-	 * @return  the value of vcoupon.mobile
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public String getMobile() {
-		return mobile;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vcoupon.mobile
-	 * @param mobile  the value for vcoupon.mobile
-	 * @mbggenerated  Thu Jul 13 14:40:37 CST 2017
-	 */
-	public void setMobile(String mobile) {
-		this.mobile = mobile;
-	}
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1522
cloud-socket/src/com/js/kbt/model/VcouponExample.java


+ 0 - 122
cloud-socket/src/com/js/kbt/model/VdayMoney.java

@@ -1,122 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-
-public class VdayMoney {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vday_money.rq
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	private String rq;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vday_money.money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	private BigDecimal money;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vday_money.user_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	private BigDecimal userIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vday_money.com_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	private BigDecimal comIncome;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vday_money.plat_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	private BigDecimal platIncome;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vday_money.rq
-	 * @return  the value of vday_money.rq
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public String getRq() {
-		return rq;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vday_money.rq
-	 * @param rq  the value for vday_money.rq
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setRq(String rq) {
-		this.rq = rq;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vday_money.money
-	 * @return  the value of vday_money.money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public BigDecimal getMoney() {
-		return money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vday_money.money
-	 * @param money  the value for vday_money.money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setMoney(BigDecimal money) {
-		this.money = money;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vday_money.user_income
-	 * @return  the value of vday_money.user_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public BigDecimal getUserIncome() {
-		return userIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vday_money.user_income
-	 * @param userIncome  the value for vday_money.user_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setUserIncome(BigDecimal userIncome) {
-		this.userIncome = userIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vday_money.com_income
-	 * @return  the value of vday_money.com_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public BigDecimal getComIncome() {
-		return comIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vday_money.com_income
-	 * @param comIncome  the value for vday_money.com_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setComIncome(BigDecimal comIncome) {
-		this.comIncome = comIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vday_money.plat_income
-	 * @return  the value of vday_money.plat_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public BigDecimal getPlatIncome() {
-		return platIncome;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vday_money.plat_income
-	 * @param platIncome  the value for vday_money.plat_income
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setPlatIncome(BigDecimal platIncome) {
-		this.platIncome = platIncome;
-	}
-}

+ 0 - 584
cloud-socket/src/com/js/kbt/model/VdayMoneyExample.java

@@ -1,584 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-
-public class VdayMoneyExample {
-    /**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	protected String orderByClause;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	protected boolean distinct;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	protected List<Criteria> oredCriteria;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public VdayMoneyExample() {
-		oredCriteria = new ArrayList<Criteria>();
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setOrderByClause(String orderByClause) {
-		this.orderByClause = orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public String getOrderByClause() {
-		return orderByClause;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void setDistinct(boolean distinct) {
-		this.distinct = distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public boolean isDistinct() {
-		return distinct;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public List<Criteria> getOredCriteria() {
-		return oredCriteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void or(Criteria criteria) {
-		oredCriteria.add(criteria);
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public Criteria or() {
-		Criteria criteria = createCriteriaInternal();
-		oredCriteria.add(criteria);
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public Criteria createCriteria() {
-		Criteria criteria = createCriteriaInternal();
-		if (oredCriteria.size() == 0) {
-			oredCriteria.add(criteria);
-		}
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	protected Criteria createCriteriaInternal() {
-		Criteria criteria = new Criteria();
-		return criteria;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public void clear() {
-		oredCriteria.clear();
-		orderByClause = null;
-		distinct = false;
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	protected abstract static class GeneratedCriteria {
-		protected List<Criterion> criteria;
-
-		protected GeneratedCriteria() {
-			super();
-			criteria = new ArrayList<Criterion>();
-		}
-
-		public boolean isValid() {
-			return criteria.size() > 0;
-		}
-
-		public List<Criterion> getAllCriteria() {
-			return criteria;
-		}
-
-		public List<Criterion> getCriteria() {
-			return criteria;
-		}
-
-		protected void addCriterion(String condition) {
-			if (condition == null) {
-				throw new RuntimeException("Value for condition cannot be null");
-			}
-			criteria.add(new Criterion(condition));
-		}
-
-		protected void addCriterion(String condition, Object value,
-				String property) {
-			if (value == null) {
-				throw new RuntimeException("Value for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value));
-		}
-
-		protected void addCriterion(String condition, Object value1,
-				Object value2, String property) {
-			if (value1 == null || value2 == null) {
-				throw new RuntimeException("Between values for " + property
-						+ " cannot be null");
-			}
-			criteria.add(new Criterion(condition, value1, value2));
-		}
-
-		public Criteria andRqIsNull() {
-			addCriterion("rq is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqIsNotNull() {
-			addCriterion("rq is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqEqualTo(String value) {
-			addCriterion("rq =", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqNotEqualTo(String value) {
-			addCriterion("rq <>", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqGreaterThan(String value) {
-			addCriterion("rq >", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqGreaterThanOrEqualTo(String value) {
-			addCriterion("rq >=", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqLessThan(String value) {
-			addCriterion("rq <", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqLessThanOrEqualTo(String value) {
-			addCriterion("rq <=", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqLike(String value) {
-			addCriterion("rq like", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqNotLike(String value) {
-			addCriterion("rq not like", value, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqIn(List<String> values) {
-			addCriterion("rq in", values, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqNotIn(List<String> values) {
-			addCriterion("rq not in", values, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqBetween(String value1, String value2) {
-			addCriterion("rq between", value1, value2, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andRqNotBetween(String value1, String value2) {
-			addCriterion("rq not between", value1, value2, "rq");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIsNull() {
-			addCriterion("money is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIsNotNull() {
-			addCriterion("money is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyEqualTo(BigDecimal value) {
-			addCriterion("money =", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotEqualTo(BigDecimal value) {
-			addCriterion("money <>", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyGreaterThan(BigDecimal value) {
-			addCriterion("money >", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
-			addCriterion("money >=", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyLessThan(BigDecimal value) {
-			addCriterion("money <", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
-			addCriterion("money <=", value, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyIn(List<BigDecimal> values) {
-			addCriterion("money in", values, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotIn(List<BigDecimal> values) {
-			addCriterion("money not in", values, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
-			addCriterion("money between", value1, value2, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
-			addCriterion("money not between", value1, value2, "money");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeIsNull() {
-			addCriterion("user_income is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeIsNotNull() {
-			addCriterion("user_income is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeEqualTo(BigDecimal value) {
-			addCriterion("user_income =", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeNotEqualTo(BigDecimal value) {
-			addCriterion("user_income <>", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeGreaterThan(BigDecimal value) {
-			addCriterion("user_income >", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeGreaterThanOrEqualTo(BigDecimal value) {
-			addCriterion("user_income >=", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeLessThan(BigDecimal value) {
-			addCriterion("user_income <", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeLessThanOrEqualTo(BigDecimal value) {
-			addCriterion("user_income <=", value, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeIn(List<BigDecimal> values) {
-			addCriterion("user_income in", values, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeNotIn(List<BigDecimal> values) {
-			addCriterion("user_income not in", values, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeBetween(BigDecimal value1,
-				BigDecimal value2) {
-			addCriterion("user_income between", value1, value2, "userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andUserIncomeNotBetween(BigDecimal value1,
-				BigDecimal value2) {
-			addCriterion("user_income not between", value1, value2,
-					"userIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeIsNull() {
-			addCriterion("com_income is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeIsNotNull() {
-			addCriterion("com_income is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeEqualTo(BigDecimal value) {
-			addCriterion("com_income =", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeNotEqualTo(BigDecimal value) {
-			addCriterion("com_income <>", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeGreaterThan(BigDecimal value) {
-			addCriterion("com_income >", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeGreaterThanOrEqualTo(BigDecimal value) {
-			addCriterion("com_income >=", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeLessThan(BigDecimal value) {
-			addCriterion("com_income <", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeLessThanOrEqualTo(BigDecimal value) {
-			addCriterion("com_income <=", value, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeIn(List<BigDecimal> values) {
-			addCriterion("com_income in", values, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeNotIn(List<BigDecimal> values) {
-			addCriterion("com_income not in", values, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeBetween(BigDecimal value1, BigDecimal value2) {
-			addCriterion("com_income between", value1, value2, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andComIncomeNotBetween(BigDecimal value1,
-				BigDecimal value2) {
-			addCriterion("com_income not between", value1, value2, "comIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeIsNull() {
-			addCriterion("plat_income is null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeIsNotNull() {
-			addCriterion("plat_income is not null");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeEqualTo(BigDecimal value) {
-			addCriterion("plat_income =", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeNotEqualTo(BigDecimal value) {
-			addCriterion("plat_income <>", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeGreaterThan(BigDecimal value) {
-			addCriterion("plat_income >", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeGreaterThanOrEqualTo(BigDecimal value) {
-			addCriterion("plat_income >=", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeLessThan(BigDecimal value) {
-			addCriterion("plat_income <", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeLessThanOrEqualTo(BigDecimal value) {
-			addCriterion("plat_income <=", value, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeIn(List<BigDecimal> values) {
-			addCriterion("plat_income in", values, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeNotIn(List<BigDecimal> values) {
-			addCriterion("plat_income not in", values, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeBetween(BigDecimal value1,
-				BigDecimal value2) {
-			addCriterion("plat_income between", value1, value2, "platIncome");
-			return (Criteria) this;
-		}
-
-		public Criteria andPlatIncomeNotBetween(BigDecimal value1,
-				BigDecimal value2) {
-			addCriterion("plat_income not between", value1, value2,
-					"platIncome");
-			return (Criteria) this;
-		}
-	}
-
-	/**
-	 * This class was generated by MyBatis Generator. This class corresponds to the database table vday_money
-	 * @mbggenerated  Fri Nov 10 15:32:13 CST 2017
-	 */
-	public static class Criterion {
-		private String condition;
-		private Object value;
-		private Object secondValue;
-		private boolean noValue;
-		private boolean singleValue;
-		private boolean betweenValue;
-		private boolean listValue;
-		private String typeHandler;
-
-		public String getCondition() {
-			return condition;
-		}
-
-		public Object getValue() {
-			return value;
-		}
-
-		public Object getSecondValue() {
-			return secondValue;
-		}
-
-		public boolean isNoValue() {
-			return noValue;
-		}
-
-		public boolean isSingleValue() {
-			return singleValue;
-		}
-
-		public boolean isBetweenValue() {
-			return betweenValue;
-		}
-
-		public boolean isListValue() {
-			return listValue;
-		}
-
-		public String getTypeHandler() {
-			return typeHandler;
-		}
-
-		protected Criterion(String condition) {
-			super();
-			this.condition = condition;
-			this.typeHandler = null;
-			this.noValue = true;
-		}
-
-		protected Criterion(String condition, Object value, String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.typeHandler = typeHandler;
-			if (value instanceof List<?>) {
-				this.listValue = true;
-			} else {
-				this.singleValue = true;
-			}
-		}
-
-		protected Criterion(String condition, Object value) {
-			this(condition, value, null);
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue,
-				String typeHandler) {
-			super();
-			this.condition = condition;
-			this.value = value;
-			this.secondValue = secondValue;
-			this.typeHandler = typeHandler;
-			this.betweenValue = true;
-		}
-
-		protected Criterion(String condition, Object value, Object secondValue) {
-			this(condition, value, secondValue, null);
-		}
-	}
-
-	/**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table vday_money
-     *
-     * @mbggenerated do_not_delete_during_merge Fri Nov 10 15:34:56 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-}

+ 0 - 710
cloud-socket/src/com/js/kbt/model/VorderCount.java

@@ -1,710 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-public class VorderCount {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer id;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String orderIdentity;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String identity;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer orderType;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Date starttime;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Date endtime;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer userId;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer cost;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String rule;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Double discount;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Boolean usecoupon;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String couponNo;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String memo;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String address;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Double lng;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Double lat;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer costOrigin;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer userIncome;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer comIncome;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private Integer platIncome;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.rq
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private String rq;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vorder_count.sl
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    private BigDecimal sl;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.id
-     *
-     * @return the value of vorder_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.id
-     *
-     * @param id the value for vorder_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.order_identity
-     *
-     * @return the value of vorder_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getOrderIdentity() {
-        return orderIdentity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.order_identity
-     *
-     * @param orderIdentity the value for vorder_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setOrderIdentity(String orderIdentity) {
-        this.orderIdentity = orderIdentity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.identity
-     *
-     * @return the value of vorder_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getIdentity() {
-        return identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.identity
-     *
-     * @param identity the value for vorder_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setIdentity(String identity) {
-        this.identity = identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.order_type
-     *
-     * @return the value of vorder_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getOrderType() {
-        return orderType;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.order_type
-     *
-     * @param orderType the value for vorder_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setOrderType(Integer orderType) {
-        this.orderType = orderType;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.startTime
-     *
-     * @return the value of vorder_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Date getStarttime() {
-        return starttime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.startTime
-     *
-     * @param starttime the value for vorder_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setStarttime(Date starttime) {
-        this.starttime = starttime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.endTime
-     *
-     * @return the value of vorder_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Date getEndtime() {
-        return endtime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.endTime
-     *
-     * @param endtime the value for vorder_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setEndtime(Date endtime) {
-        this.endtime = endtime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.user_id
-     *
-     * @return the value of vorder_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getUserId() {
-        return userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.user_id
-     *
-     * @param userId the value for vorder_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setUserId(Integer userId) {
-        this.userId = userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.cost
-     *
-     * @return the value of vorder_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getCost() {
-        return cost;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.cost
-     *
-     * @param cost the value for vorder_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setCost(Integer cost) {
-        this.cost = cost;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.rule
-     *
-     * @return the value of vorder_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getRule() {
-        return rule;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.rule
-     *
-     * @param rule the value for vorder_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setRule(String rule) {
-        this.rule = rule;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.discount
-     *
-     * @return the value of vorder_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Double getDiscount() {
-        return discount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.discount
-     *
-     * @param discount the value for vorder_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setDiscount(Double discount) {
-        this.discount = discount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.useCoupon
-     *
-     * @return the value of vorder_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Boolean getUsecoupon() {
-        return usecoupon;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.useCoupon
-     *
-     * @param usecoupon the value for vorder_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setUsecoupon(Boolean usecoupon) {
-        this.usecoupon = usecoupon;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.coupon_no
-     *
-     * @return the value of vorder_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getCouponNo() {
-        return couponNo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.coupon_no
-     *
-     * @param couponNo the value for vorder_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setCouponNo(String couponNo) {
-        this.couponNo = couponNo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.memo
-     *
-     * @return the value of vorder_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getMemo() {
-        return memo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.memo
-     *
-     * @param memo the value for vorder_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setMemo(String memo) {
-        this.memo = memo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.address
-     *
-     * @return the value of vorder_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getAddress() {
-        return address;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.address
-     *
-     * @param address the value for vorder_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setAddress(String address) {
-        this.address = address;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.lng
-     *
-     * @return the value of vorder_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Double getLng() {
-        return lng;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.lng
-     *
-     * @param lng the value for vorder_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setLng(Double lng) {
-        this.lng = lng;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.lat
-     *
-     * @return the value of vorder_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Double getLat() {
-        return lat;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.lat
-     *
-     * @param lat the value for vorder_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setLat(Double lat) {
-        this.lat = lat;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.cost_origin
-     *
-     * @return the value of vorder_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getCostOrigin() {
-        return costOrigin;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.cost_origin
-     *
-     * @param costOrigin the value for vorder_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setCostOrigin(Integer costOrigin) {
-        this.costOrigin = costOrigin;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.user_income
-     *
-     * @return the value of vorder_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getUserIncome() {
-        return userIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.user_income
-     *
-     * @param userIncome the value for vorder_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setUserIncome(Integer userIncome) {
-        this.userIncome = userIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.com_income
-     *
-     * @return the value of vorder_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getComIncome() {
-        return comIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.com_income
-     *
-     * @param comIncome the value for vorder_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setComIncome(Integer comIncome) {
-        this.comIncome = comIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.plat_income
-     *
-     * @return the value of vorder_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public Integer getPlatIncome() {
-        return platIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.plat_income
-     *
-     * @param platIncome the value for vorder_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setPlatIncome(Integer platIncome) {
-        this.platIncome = platIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.rq
-     *
-     * @return the value of vorder_count.rq
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public String getRq() {
-        return rq;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.rq
-     *
-     * @param rq the value for vorder_count.rq
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setRq(String rq) {
-        this.rq = rq;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vorder_count.sl
-     *
-     * @return the value of vorder_count.sl
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public BigDecimal getSl() {
-        return sl;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vorder_count.sl
-     *
-     * @param sl the value for vorder_count.sl
-     *
-     * @mbggenerated Fri Nov 10 15:24:40 CST 2017
-     */
-    public void setSl(BigDecimal sl) {
-        this.sl = sl;
-    }
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1694
cloud-socket/src/com/js/kbt/model/VorderCountExample.java


+ 0 - 678
cloud-socket/src/com/js/kbt/model/VparkCount.java

@@ -1,678 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-public class VparkCount {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Integer id;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String orderIdentity;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String identity;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Integer orderType;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Date starttime;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Date endtime;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Integer userId;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Integer cost;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String rule;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Double discount;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Boolean usecoupon;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String couponNo;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String memo;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String address;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Double lng;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Double lat;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private Integer costOrigin;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.user_name
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private String userName;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private BigDecimal userIncome;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private BigDecimal comIncome;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpark_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    private BigDecimal platIncome;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.id
-     *
-     * @return the value of vpark_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Integer getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.id
-     *
-     * @param id the value for vpark_count.id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.order_identity
-     *
-     * @return the value of vpark_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getOrderIdentity() {
-        return orderIdentity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.order_identity
-     *
-     * @param orderIdentity the value for vpark_count.order_identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setOrderIdentity(String orderIdentity) {
-        this.orderIdentity = orderIdentity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.identity
-     *
-     * @return the value of vpark_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getIdentity() {
-        return identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.identity
-     *
-     * @param identity the value for vpark_count.identity
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setIdentity(String identity) {
-        this.identity = identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.order_type
-     *
-     * @return the value of vpark_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Integer getOrderType() {
-        return orderType;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.order_type
-     *
-     * @param orderType the value for vpark_count.order_type
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setOrderType(Integer orderType) {
-        this.orderType = orderType;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.startTime
-     *
-     * @return the value of vpark_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Date getStarttime() {
-        return starttime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.startTime
-     *
-     * @param starttime the value for vpark_count.startTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setStarttime(Date starttime) {
-        this.starttime = starttime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.endTime
-     *
-     * @return the value of vpark_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Date getEndtime() {
-        return endtime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.endTime
-     *
-     * @param endtime the value for vpark_count.endTime
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setEndtime(Date endtime) {
-        this.endtime = endtime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.user_id
-     *
-     * @return the value of vpark_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Integer getUserId() {
-        return userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.user_id
-     *
-     * @param userId the value for vpark_count.user_id
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setUserId(Integer userId) {
-        this.userId = userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.cost
-     *
-     * @return the value of vpark_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Integer getCost() {
-        return cost;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.cost
-     *
-     * @param cost the value for vpark_count.cost
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setCost(Integer cost) {
-        this.cost = cost;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.rule
-     *
-     * @return the value of vpark_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getRule() {
-        return rule;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.rule
-     *
-     * @param rule the value for vpark_count.rule
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setRule(String rule) {
-        this.rule = rule;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.discount
-     *
-     * @return the value of vpark_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Double getDiscount() {
-        return discount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.discount
-     *
-     * @param discount the value for vpark_count.discount
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setDiscount(Double discount) {
-        this.discount = discount;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.useCoupon
-     *
-     * @return the value of vpark_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Boolean getUsecoupon() {
-        return usecoupon;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.useCoupon
-     *
-     * @param usecoupon the value for vpark_count.useCoupon
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setUsecoupon(Boolean usecoupon) {
-        this.usecoupon = usecoupon;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.coupon_no
-     *
-     * @return the value of vpark_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getCouponNo() {
-        return couponNo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.coupon_no
-     *
-     * @param couponNo the value for vpark_count.coupon_no
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setCouponNo(String couponNo) {
-        this.couponNo = couponNo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.memo
-     *
-     * @return the value of vpark_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getMemo() {
-        return memo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.memo
-     *
-     * @param memo the value for vpark_count.memo
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setMemo(String memo) {
-        this.memo = memo;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.address
-     *
-     * @return the value of vpark_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getAddress() {
-        return address;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.address
-     *
-     * @param address the value for vpark_count.address
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setAddress(String address) {
-        this.address = address;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.lng
-     *
-     * @return the value of vpark_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Double getLng() {
-        return lng;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.lng
-     *
-     * @param lng the value for vpark_count.lng
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setLng(Double lng) {
-        this.lng = lng;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.lat
-     *
-     * @return the value of vpark_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Double getLat() {
-        return lat;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.lat
-     *
-     * @param lat the value for vpark_count.lat
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setLat(Double lat) {
-        this.lat = lat;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.cost_origin
-     *
-     * @return the value of vpark_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public Integer getCostOrigin() {
-        return costOrigin;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.cost_origin
-     *
-     * @param costOrigin the value for vpark_count.cost_origin
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setCostOrigin(Integer costOrigin) {
-        this.costOrigin = costOrigin;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.user_name
-     *
-     * @return the value of vpark_count.user_name
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public String getUserName() {
-        return userName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.user_name
-     *
-     * @param userName the value for vpark_count.user_name
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setUserName(String userName) {
-        this.userName = userName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.user_income
-     *
-     * @return the value of vpark_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public BigDecimal getUserIncome() {
-        return userIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.user_income
-     *
-     * @param userIncome the value for vpark_count.user_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setUserIncome(BigDecimal userIncome) {
-        this.userIncome = userIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.com_income
-     *
-     * @return the value of vpark_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public BigDecimal getComIncome() {
-        return comIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.com_income
-     *
-     * @param comIncome the value for vpark_count.com_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setComIncome(BigDecimal comIncome) {
-        this.comIncome = comIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpark_count.plat_income
-     *
-     * @return the value of vpark_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public BigDecimal getPlatIncome() {
-        return platIncome;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpark_count.plat_income
-     *
-     * @param platIncome the value for vpark_count.plat_income
-     *
-     * @mbggenerated Fri Nov 10 15:06:59 CST 2017
-     */
-    public void setPlatIncome(BigDecimal platIncome) {
-        this.platIncome = platIncome;
-    }
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1634
cloud-socket/src/com/js/kbt/model/VparkCountExample.java


+ 0 - 398
cloud-socket/src/com/js/kbt/model/VparkOrder.java

@@ -1,398 +0,0 @@
-package com.js.kbt.model;
-
-import java.util.Date;
-
-public class VparkOrder {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Integer id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.order_identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String orderIdentity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String identity;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.order_type
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Integer orderType;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.startTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Date starttime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.endTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Date endtime;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.user_id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Integer userId;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.cost
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Integer cost;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.rule
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String rule;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.discount
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Double discount;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.useCoupon
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Boolean usecoupon;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.coupon_no
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String couponNo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.memo
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String memo;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.address
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String address;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.lng
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Double lng;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.lat
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private Double lat;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vpark_order.user_name
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	private String userName;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.id
-	 * @return  the value of vpark_order.id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Integer getId() {
-		return id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.id
-	 * @param id  the value for vpark_order.id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.order_identity
-	 * @return  the value of vpark_order.order_identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getOrderIdentity() {
-		return orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.order_identity
-	 * @param orderIdentity  the value for vpark_order.order_identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setOrderIdentity(String orderIdentity) {
-		this.orderIdentity = orderIdentity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.identity
-	 * @return  the value of vpark_order.identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getIdentity() {
-		return identity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.identity
-	 * @param identity  the value for vpark_order.identity
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setIdentity(String identity) {
-		this.identity = identity;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.order_type
-	 * @return  the value of vpark_order.order_type
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Integer getOrderType() {
-		return orderType;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.order_type
-	 * @param orderType  the value for vpark_order.order_type
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setOrderType(Integer orderType) {
-		this.orderType = orderType;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.startTime
-	 * @return  the value of vpark_order.startTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Date getStarttime() {
-		return starttime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.startTime
-	 * @param starttime  the value for vpark_order.startTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setStarttime(Date starttime) {
-		this.starttime = starttime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.endTime
-	 * @return  the value of vpark_order.endTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Date getEndtime() {
-		return endtime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.endTime
-	 * @param endtime  the value for vpark_order.endTime
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setEndtime(Date endtime) {
-		this.endtime = endtime;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.user_id
-	 * @return  the value of vpark_order.user_id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Integer getUserId() {
-		return userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.user_id
-	 * @param userId  the value for vpark_order.user_id
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setUserId(Integer userId) {
-		this.userId = userId;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.cost
-	 * @return  the value of vpark_order.cost
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Integer getCost() {
-		return cost;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.cost
-	 * @param cost  the value for vpark_order.cost
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setCost(Integer cost) {
-		this.cost = cost;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.rule
-	 * @return  the value of vpark_order.rule
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getRule() {
-		return rule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.rule
-	 * @param rule  the value for vpark_order.rule
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setRule(String rule) {
-		this.rule = rule;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.discount
-	 * @return  the value of vpark_order.discount
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Double getDiscount() {
-		return discount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.discount
-	 * @param discount  the value for vpark_order.discount
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setDiscount(Double discount) {
-		this.discount = discount;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.useCoupon
-	 * @return  the value of vpark_order.useCoupon
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Boolean getUsecoupon() {
-		return usecoupon;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.useCoupon
-	 * @param usecoupon  the value for vpark_order.useCoupon
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setUsecoupon(Boolean usecoupon) {
-		this.usecoupon = usecoupon;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.coupon_no
-	 * @return  the value of vpark_order.coupon_no
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getCouponNo() {
-		return couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.coupon_no
-	 * @param couponNo  the value for vpark_order.coupon_no
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setCouponNo(String couponNo) {
-		this.couponNo = couponNo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.memo
-	 * @return  the value of vpark_order.memo
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getMemo() {
-		return memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.memo
-	 * @param memo  the value for vpark_order.memo
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setMemo(String memo) {
-		this.memo = memo;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.address
-	 * @return  the value of vpark_order.address
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getAddress() {
-		return address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.address
-	 * @param address  the value for vpark_order.address
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setAddress(String address) {
-		this.address = address;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.lng
-	 * @return  the value of vpark_order.lng
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Double getLng() {
-		return lng;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.lng
-	 * @param lng  the value for vpark_order.lng
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setLng(Double lng) {
-		this.lng = lng;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.lat
-	 * @return  the value of vpark_order.lat
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public Double getLat() {
-		return lat;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.lat
-	 * @param lat  the value for vpark_order.lat
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setLat(Double lat) {
-		this.lat = lat;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vpark_order.user_name
-	 * @return  the value of vpark_order.user_name
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public String getUserName() {
-		return userName;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vpark_order.user_name
-	 * @param userName  the value for vpark_order.user_name
-	 * @mbggenerated  Fri Nov 10 15:17:28 CST 2017
-	 */
-	public void setUserName(String userName) {
-		this.userName = userName;
-	}
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1359
cloud-socket/src/com/js/kbt/model/VparkOrderExample.java


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1157
cloud-socket/src/com/js/kbt/model/VparkingPoint.java


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 2583
cloud-socket/src/com/js/kbt/model/VparkingPointExample.java


+ 0 - 101
cloud-socket/src/com/js/kbt/model/VpointUse.java

@@ -1,101 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-
-public class VpointUse {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpoint_use.rq
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    private String rq;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpoint_use.identity
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    private String identity;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column vpoint_use.sl
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    private BigDecimal sl;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpoint_use.rq
-     *
-     * @return the value of vpoint_use.rq
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public String getRq() {
-        return rq;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpoint_use.rq
-     *
-     * @param rq the value for vpoint_use.rq
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void setRq(String rq) {
-        this.rq = rq;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpoint_use.identity
-     *
-     * @return the value of vpoint_use.identity
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public String getIdentity() {
-        return identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpoint_use.identity
-     *
-     * @param identity the value for vpoint_use.identity
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void setIdentity(String identity) {
-        this.identity = identity;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column vpoint_use.sl
-     *
-     * @return the value of vpoint_use.sl
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public BigDecimal getSl() {
-        return sl;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column vpoint_use.sl
-     *
-     * @param sl the value for vpoint_use.sl
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void setSl(BigDecimal sl) {
-        this.sl = sl;
-    }
-}

+ 0 - 503
cloud-socket/src/com/js/kbt/model/VpointUseExample.java

@@ -1,503 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-
-public class VpointUseExample {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    protected String orderByClause;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    protected boolean distinct;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    protected List<Criteria> oredCriteria;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public VpointUseExample() {
-        oredCriteria = new ArrayList<Criteria>();
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<Criterion>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andRqIsNull() {
-            addCriterion("rq is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqIsNotNull() {
-            addCriterion("rq is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqEqualTo(String value) {
-            addCriterion("rq =", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqNotEqualTo(String value) {
-            addCriterion("rq <>", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqGreaterThan(String value) {
-            addCriterion("rq >", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqGreaterThanOrEqualTo(String value) {
-            addCriterion("rq >=", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqLessThan(String value) {
-            addCriterion("rq <", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqLessThanOrEqualTo(String value) {
-            addCriterion("rq <=", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqLike(String value) {
-            addCriterion("rq like", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqNotLike(String value) {
-            addCriterion("rq not like", value, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqIn(List<String> values) {
-            addCriterion("rq in", values, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqNotIn(List<String> values) {
-            addCriterion("rq not in", values, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqBetween(String value1, String value2) {
-            addCriterion("rq between", value1, value2, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andRqNotBetween(String value1, String value2) {
-            addCriterion("rq not between", value1, value2, "rq");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityIsNull() {
-            addCriterion("identity is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityIsNotNull() {
-            addCriterion("identity is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityEqualTo(String value) {
-            addCriterion("identity =", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityNotEqualTo(String value) {
-            addCriterion("identity <>", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityGreaterThan(String value) {
-            addCriterion("identity >", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityGreaterThanOrEqualTo(String value) {
-            addCriterion("identity >=", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityLessThan(String value) {
-            addCriterion("identity <", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityLessThanOrEqualTo(String value) {
-            addCriterion("identity <=", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityLike(String value) {
-            addCriterion("identity like", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityNotLike(String value) {
-            addCriterion("identity not like", value, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityIn(List<String> values) {
-            addCriterion("identity in", values, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityNotIn(List<String> values) {
-            addCriterion("identity not in", values, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityBetween(String value1, String value2) {
-            addCriterion("identity between", value1, value2, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdentityNotBetween(String value1, String value2) {
-            addCriterion("identity not between", value1, value2, "identity");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIsNull() {
-            addCriterion("sl is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIsNotNull() {
-            addCriterion("sl is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlEqualTo(BigDecimal value) {
-            addCriterion("sl =", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotEqualTo(BigDecimal value) {
-            addCriterion("sl <>", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlGreaterThan(BigDecimal value) {
-            addCriterion("sl >", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlGreaterThanOrEqualTo(BigDecimal value) {
-            addCriterion("sl >=", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlLessThan(BigDecimal value) {
-            addCriterion("sl <", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlLessThanOrEqualTo(BigDecimal value) {
-            addCriterion("sl <=", value, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlIn(List<BigDecimal> values) {
-            addCriterion("sl in", values, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotIn(List<BigDecimal> values) {
-            addCriterion("sl not in", values, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlBetween(BigDecimal value1, BigDecimal value2) {
-            addCriterion("sl between", value1, value2, "sl");
-            return (Criteria) this;
-        }
-
-        public Criteria andSlNotBetween(BigDecimal value1, BigDecimal value2) {
-            addCriterion("sl not between", value1, value2, "sl");
-            return (Criteria) this;
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table vpoint_use
-     *
-     * @mbggenerated do_not_delete_during_merge Fri Nov 10 15:38:46 CST 2017
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table vpoint_use
-     *
-     * @mbggenerated Fri Nov 10 15:38:46 CST 2017
-     */
-    public static class Criterion {
-        private String condition;
-
-        private Object value;
-
-        private Object secondValue;
-
-        private boolean noValue;
-
-        private boolean singleValue;
-
-        private boolean betweenValue;
-
-        private boolean listValue;
-
-        private String typeHandler;
-
-        public String getCondition() {
-            return condition;
-        }
-
-        public Object getValue() {
-            return value;
-        }
-
-        public Object getSecondValue() {
-            return secondValue;
-        }
-
-        public boolean isNoValue() {
-            return noValue;
-        }
-
-        public boolean isSingleValue() {
-            return singleValue;
-        }
-
-        public boolean isBetweenValue() {
-            return betweenValue;
-        }
-
-        public boolean isListValue() {
-            return listValue;
-        }
-
-        public String getTypeHandler() {
-            return typeHandler;
-        }
-
-        protected Criterion(String condition) {
-            super();
-            this.condition = condition;
-            this.typeHandler = null;
-            this.noValue = true;
-        }
-
-        protected Criterion(String condition, Object value, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.typeHandler = typeHandler;
-            if (value instanceof List<?>) {
-                this.listValue = true;
-            } else {
-                this.singleValue = true;
-            }
-        }
-
-        protected Criterion(String condition, Object value) {
-            this(condition, value, null);
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.secondValue = secondValue;
-            this.typeHandler = typeHandler;
-            this.betweenValue = true;
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue) {
-            this(condition, value, secondValue, null);
-        }
-    }
-}

+ 0 - 53
cloud-socket/src/com/js/kbt/model/Vuser.java

@@ -1,53 +0,0 @@
-package com.js.kbt.model;
-
-import java.math.BigDecimal;
-
-public class Vuser {
-
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vuser.indate
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	private String indate;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column vuser.sl
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	private BigDecimal sl;
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vuser.indate
-	 * @return  the value of vuser.indate
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	public String getIndate() {
-		return indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vuser.indate
-	 * @param indate  the value for vuser.indate
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	public void setIndate(String indate) {
-		this.indate = indate;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method returns the value of the database column vuser.sl
-	 * @return  the value of vuser.sl
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	public BigDecimal getSl() {
-		return sl;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column vuser.sl
-	 * @param sl  the value for vuser.sl
-	 * @mbggenerated  Mon Nov 06 13:21:03 CST 2017
-	 */
-	public void setSl(BigDecimal sl) {
-		this.sl = sl;
-	}
-}

+ 0 - 0
cloud-socket/src/com/js/kbt/model/VuserAct.java


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä