袁野 2 months ago
parent 8fd2b17dee
commit 98cc619fae
  1. 1
      bweb/src/main/java/com/bweb/config/AuthConfig.java
  2. 76
      bweb/src/main/java/com/bweb/controller/LoginController.java
  3. 35
      bweb/src/main/java/com/bweb/controller/SecUserController.java
  4. 4
      bweb/src/main/java/com/bweb/controller/student/StudentItemController.java
  5. 2
      bweb/src/main/resources/dev/application.yml
  6. 8
      cweb/src/main/java/com/cweb/config/AuthConfig.java
  7. 42
      cweb/src/main/java/com/cweb/controller/CommonController.java
  8. 72
      cweb/src/main/java/com/cweb/controller/user/BsUserController.java
  9. 4
      cweb/src/main/resources/dev/application.yml
  10. 641
      service/src/main/java/com/cg/dao/CyymallOrderMapper.java
  11. 7
      service/src/main/java/com/cg/dao/CyymallOrderMapperExt.java
  12. 1650
      service/src/main/java/com/cg/dao/CyymallOrderSqlProvider.java
  13. 332
      service/src/main/java/com/cg/dao/CyymallUserMapper.java
  14. 7
      service/src/main/java/com/cg/dao/CyymallUserMapperExt.java
  15. 1032
      service/src/main/java/com/cg/dao/CyymallUserSqlProvider.java
  16. 1407
      service/src/main/java/com/cg/entity/CyymallOrder.java
  17. 5493
      service/src/main/java/com/cg/entity/CyymallOrderExample.java
  18. 308
      service/src/main/java/com/cg/entity/CyymallOrderWithBLOBs.java
  19. 987
      service/src/main/java/com/cg/entity/CyymallUser.java
  20. 4183
      service/src/main/java/com/cg/entity/CyymallUserExample.java
  21. 45
      service/src/main/java/com/cg/service/student/StudentItemService.java
  22. 43
      service/src/main/java/com/cg/service/student/impl/StudentItemServiceImpl.java
  23. 8
      service/src/main/java/com/cg/service/user/BsUserLoginLogService.java
  24. 16
      service/src/main/java/com/cg/service/user/BsUserService.java
  25. 2
      service/src/main/java/com/cg/service/user/impl/BsUserLoginLogServiceImpl.java
  26. 24
      service/src/main/java/com/cg/service/user/impl/BsUserServiceImpl.java
  27. 62
      service/src/main/java/com/cg/sysenum/GoodsVpdSourceEnum.java
  28. 39
      service/src/main/java/com/cg/sysenum/UserCardStatusEnum.java
  29. 39
      service/src/main/java/com/cg/sysenum/UserCardTypeEnum.java
  30. 54
      service/src/main/java/com/cg/sysenum/UserLoginPlatform.java
  31. 57
      service/src/main/java/com/cg/sysenum/UserLoginType.java
  32. 44
      service/src/main/java/com/cg/sysenum/order/OrderAfterSalesApplyStatusEnum.java
  33. 42
      service/src/main/java/com/cg/sysenum/order/OrderAfterSalesApplyTypeEnum.java
  34. 52
      service/src/main/java/com/cg/sysenum/order/OrderChildProductTypeEnum.java
  35. 53
      service/src/main/java/com/cg/sysenum/order/OrderChildStatusEnum.java
  36. 55
      service/src/main/java/com/cg/sysenum/order/OrderCinemaStatusEnum.java
  37. 43
      service/src/main/java/com/cg/sysenum/order/OrderCouponNoStatusEnum.java
  38. 60
      service/src/main/java/com/cg/sysenum/order/OrderGoodsStatusEnum.java
  39. 39
      service/src/main/java/com/cg/sysenum/order/OrderPayChannelEnum.java
  40. 39
      service/src/main/java/com/cg/sysenum/order/OrderPayTypeEnum.java
  41. 34
      service/src/main/java/com/cg/sysenum/order/OrderRefundStatusEnum.java
  42. 48
      service/src/main/java/com/cg/sysenum/order/OrderStatusEnum.java

@ -88,6 +88,7 @@ public class AuthConfig implements WebMvcConfigurer {
.excludePathPatterns("/**/swagger-ui.html")
.excludePathPatterns("/fileUpload/*")
.excludePathPatterns("/common/*")
.excludePathPatterns("/login/*")
.excludePathPatterns("/secMenu/queryMenuList")
;
}

@ -0,0 +1,76 @@
package com.bweb.controller;
import com.alibaba.fastjson.JSONObject;
import com.cg.common.exception.ErrorCode;
import com.cg.common.exception.ErrorHelp;
import com.cg.common.exception.SysCode;
import com.cg.common.security.UserCenter;
import com.cg.common.utils.ResponseMsgUtil;
import com.cg.model.ResponseData;
import com.cg.model.SecUserSessionObject;
import com.cg.service.SecUserLoginLogService;
import com.cg.service.SecUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@Controller
@RequestMapping(value="/login")
@Api(value="登录")
public class LoginController {
Logger log = LoggerFactory.getLogger(LoginController.class);
@Resource
private SecUserService secUserService;
@Resource
private UserCenter userCenter;
@RequestMapping(value="/login",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "登录")
public ResponseData login(@RequestBody JSONObject body) {
try {
if (body == null
|| StringUtils.isBlank(body.getString("loginName"))
|| StringUtils.isBlank(body.getString("password"))
) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");
}
return ResponseMsgUtil.success(secUserService.login(body.getString("loginName"), body.getString("password")));
} catch (Exception e) {
log.error("error!",e);
return ResponseMsgUtil.exception(e);
}
}
@RequestMapping(value="/loginOut",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "退出登录")
public ResponseData loginOut(HttpServletRequest request) {
try {
try {
SecUserSessionObject session = userCenter.getSessionModel(SecUserSessionObject.class);
if (session != null) {
userCenter.remove(request);
}
} catch (Exception e) {}
return ResponseMsgUtil.success("退出成功");
} catch (Exception e) {
log.error("error!",e);
return ResponseMsgUtil.exception(e);
}
}
}

@ -254,25 +254,7 @@ public class SecUserController {
}
}
@RequestMapping(value="/login",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "登录")
public ResponseData login(@RequestBody JSONObject body) {
try {
if (body == null
|| StringUtils.isBlank(body.getString("loginName"))
|| StringUtils.isBlank(body.getString("password"))
) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");
}
return ResponseMsgUtil.success(secUserService.login(body.getString("loginName"), body.getString("password")));
} catch (Exception e) {
log.error("error!",e);
return ResponseMsgUtil.exception(e);
}
}
@RequestMapping(value="/queryUser",method = RequestMethod.POST)
@ResponseBody
@ -288,23 +270,6 @@ public class SecUserController {
}
}
@RequestMapping(value="/loginOut",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "退出登录")
public ResponseData loginOut(HttpServletRequest request) {
try {
try {
SecUserSessionObject session = userCenter.getSessionModel(SecUserSessionObject.class);
if (session != null) {
userCenter.remove(request);
}
} catch (Exception e) {}
return ResponseMsgUtil.success("退出成功");
} catch (Exception e) {
log.error("error!",e);
return ResponseMsgUtil.exception(e);
}
}
}

@ -0,0 +1,4 @@
package com.bweb.controller.student;
public class StudentItemController {
}

@ -28,7 +28,7 @@ spring:
poolPreparedStatements: true
maxOpenPreparedStatements: 20
redis:
database: 1
database: 8
host: 139.9.154.68
port: 36379
password: HF123456.Redis

@ -86,12 +86,8 @@ public class AuthConfig implements WebMvcConfigurer {
.excludePathPatterns("/**/api-docs")
.excludePathPatterns("/**/springfox-swagger-ui/**")
.excludePathPatterns("/**/swagger-ui.html")
.excludePathPatterns("/goods/*")
.excludePathPatterns("/cms/*")
.excludePathPatterns("/common/*")
.excludePathPatterns("/fileUpload/*")
.excludePathPatterns("/wxMsg/*")
.excludePathPatterns("/cinema/*")
.excludePathPatterns("/user/*")
;
}

@ -1,19 +1,10 @@
package com.cweb.controller;
import com.alibaba.fastjson.JSONObject;
import com.cg.common.utils.RedisUtil;
import com.cg.common.utils.ResponseMsgUtil;
import com.cg.model.ResponseData;
import com.cg.service.CommonService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.*;
@RestController
@RequestMapping(value="/common")
@ -22,39 +13,6 @@ public class CommonController {
Logger log = LoggerFactory.getLogger(CommonController.class);
@Resource
private CommonService commonService;
@Autowired
private RedisUtil redisUtil;
@RequestMapping(value = "/getAllCity", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "查询所有城市")
public ResponseData getAllCity() {
try {
Object data = redisUtil.get("regional");
if (data == null) {
List<JSONObject> jsonObjects = commonService.getCity("key" , "title" , "children");
redisUtil.set("regional", jsonObjects);
return ResponseMsgUtil.success(jsonObjects);
} else {
return ResponseMsgUtil.success(data);
}
} catch (Exception e) {
log.error("HighUserCardController --> oilCardRefund() error!", e);
return ResponseMsgUtil.exception(e);
}
}
}

@ -0,0 +1,72 @@
package com.cweb.controller.user;
import com.alibaba.fastjson.JSONObject;
import com.cg.common.exception.ErrorCode;
import com.cg.common.exception.ErrorHelp;
import com.cg.common.exception.SysCode;
import com.cg.common.utils.MemberValidateUtil;
import com.cg.common.utils.ResponseMsgUtil;
import com.cg.model.ResponseData;
import com.cg.service.user.BsUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;
/**
* @className: secUser
* @author: HuRui
* @date: 2024/3/28
**/
@Controller
@RequestMapping(value="/user")
@Api(value="客户端")
public class BsUserController {
Logger log = LoggerFactory.getLogger(BsUserController.class);
@Resource
private BsUserService userService;
@RequestMapping(value = "/phoneNotVerify", method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "H5手机号不校验登陆")
public ResponseData phoneNotVerify(@RequestBody JSONObject body) {
try {
if (body == null
|| StringUtils.isBlank(body.getString("phone"))
) {
log.error("LoginController --> phone() error!", "请求参数校验失败");
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");
}
String phone = body.getString("phone");
String password = body.getString("password");
// 校验手机号格式
if (!MemberValidateUtil.validatePhone(phone)) {
log.error("LoginController --> phone() error!", "请输入正确的手机号");
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "请输入正确的手机号");
}
Map<String, Object> other = new HashMap<>();
return ResponseMsgUtil.success(userService.login(phone, password, other));
} catch (Exception e) {
log.error("LoginController --> phone() error!", e);
return ResponseMsgUtil.exception(e);
}
}
}

@ -1,5 +1,5 @@
server:
port: 9701
port: 9301
servlet:
context-path: /crest
@ -9,7 +9,7 @@ debug: false
#datasource数据源设置
spring:
datasource:
url: jdbc:mysql://139.9.154.68:3306/puhui_go?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false
url: jdbc:mysql://139.9.154.68:3306/cg?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root
password: HF123456.
type: com.alibaba.druid.pool.DruidDataSource

@ -1,641 +0,0 @@
package com.cg.dao;
import com.cg.entity.CyymallOrder;
import com.cg.entity.CyymallOrderExample;
import com.cg.entity.CyymallOrderWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.type.JdbcType;
import org.springframework.stereotype.Repository;
/**
*
* 代码由工具生成,请勿修改!!!
* 如果需要扩展请在其父类进行扩展
*
**/
@Repository
public interface CyymallOrderMapper extends CyymallOrderMapperExt {
@SelectProvider(type=CyymallOrderSqlProvider.class, method="countByExample")
long countByExample(CyymallOrderExample example);
@DeleteProvider(type=CyymallOrderSqlProvider.class, method="deleteByExample")
int deleteByExample(CyymallOrderExample example);
@Delete({
"delete from cyymall_order",
"where id = #{id,jdbcType=INTEGER}"
})
int deleteByPrimaryKey(Integer id);
@Insert({
"insert into cyymall_order (store_id, user_id, ",
"order_no, total_price, ",
"pay_price, express_price, ",
"`name`, mobile, address, ",
"remark, is_pay, ",
"pay_type, pay_time, ",
"is_send, send_time, ",
"express, express_no, ",
"is_confirm, confirm_time, ",
"is_comment, apply_delete, ",
"addtime, is_delete, ",
"is_price, parent_id, ",
"first_price, second_price, ",
"third_price, coupon_sub_price, ",
"is_offline, clerk_id, ",
"is_cancel, before_update_price, ",
"shop_id, discount, ",
"user_coupon_id, give_integral, ",
"parent_id_1, parent_id_2, ",
"is_sale, version, ",
"express_price_1, is_recycle, ",
"rebate, before_update_express, ",
"mch_id, order_union_id, ",
"is_transfer, `type`, ",
"share_price, is_show, ",
"currency, order_origin, ",
"delivery_id, delivery_status, ",
"fy_status, fyjine, fysingle, ",
"mch_fyjine, mch_fysingle, ",
"is_fan, is_dada, shop_peisong, ",
"is_open_offline, supplier_id, ",
"is_sup_transfer, dabao_price, ",
"settlement_amount, is_settlement, ",
"settlement_time, is_mch_shop, ",
"is_divide_money, transaction_id, ",
"pay_user_id, pay_type_true, ",
"is_vgoods, reduction_price, ",
"minus_price, order_from, ",
"discount_price, discount_num, ",
"give_goods_id, coupon_record_id, ",
"id_card_no, refund_time, ",
"content, address_data, ",
"offline_qrcode, integral, ",
"words, seller_comments)",
"values (#{storeId,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, ",
"#{orderNo,jdbcType=VARCHAR}, #{totalPrice,jdbcType=DECIMAL}, ",
"#{payPrice,jdbcType=DECIMAL}, #{expressPrice,jdbcType=DECIMAL}, ",
"#{name,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, ",
"#{remark,jdbcType=VARCHAR}, #{isPay,jdbcType=SMALLINT}, ",
"#{payType,jdbcType=SMALLINT}, #{payTime,jdbcType=INTEGER}, ",
"#{isSend,jdbcType=SMALLINT}, #{sendTime,jdbcType=INTEGER}, ",
"#{express,jdbcType=VARCHAR}, #{expressNo,jdbcType=VARCHAR}, ",
"#{isConfirm,jdbcType=SMALLINT}, #{confirmTime,jdbcType=INTEGER}, ",
"#{isComment,jdbcType=SMALLINT}, #{applyDelete,jdbcType=SMALLINT}, ",
"#{addtime,jdbcType=INTEGER}, #{isDelete,jdbcType=SMALLINT}, ",
"#{isPrice,jdbcType=SMALLINT}, #{parentId,jdbcType=INTEGER}, ",
"#{firstPrice,jdbcType=DECIMAL}, #{secondPrice,jdbcType=DECIMAL}, ",
"#{thirdPrice,jdbcType=DECIMAL}, #{couponSubPrice,jdbcType=DECIMAL}, ",
"#{isOffline,jdbcType=INTEGER}, #{clerkId,jdbcType=INTEGER}, ",
"#{isCancel,jdbcType=SMALLINT}, #{beforeUpdatePrice,jdbcType=DECIMAL}, ",
"#{shopId,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, ",
"#{userCouponId,jdbcType=INTEGER}, #{giveIntegral,jdbcType=SMALLINT}, ",
"#{parentId1,jdbcType=INTEGER}, #{parentId2,jdbcType=INTEGER}, ",
"#{isSale,jdbcType=INTEGER}, #{version,jdbcType=VARCHAR}, ",
"#{expressPrice1,jdbcType=DECIMAL}, #{isRecycle,jdbcType=SMALLINT}, ",
"#{rebate,jdbcType=DECIMAL}, #{beforeUpdateExpress,jdbcType=DECIMAL}, ",
"#{mchId,jdbcType=INTEGER}, #{orderUnionId,jdbcType=INTEGER}, ",
"#{isTransfer,jdbcType=SMALLINT}, #{type,jdbcType=INTEGER}, ",
"#{sharePrice,jdbcType=DECIMAL}, #{isShow,jdbcType=SMALLINT}, ",
"#{currency,jdbcType=DECIMAL}, #{orderOrigin,jdbcType=BIT}, ",
"#{deliveryId,jdbcType=INTEGER}, #{deliveryStatus,jdbcType=BIT}, ",
"#{fyStatus,jdbcType=BIT}, #{fyjine,jdbcType=DECIMAL}, #{fysingle,jdbcType=DECIMAL}, ",
"#{mchFyjine,jdbcType=DECIMAL}, #{mchFysingle,jdbcType=DECIMAL}, ",
"#{isFan,jdbcType=BIT}, #{isDada,jdbcType=BIT}, #{shopPeisong,jdbcType=INTEGER}, ",
"#{isOpenOffline,jdbcType=BIT}, #{supplierId,jdbcType=INTEGER}, ",
"#{isSupTransfer,jdbcType=BIT}, #{dabaoPrice,jdbcType=DECIMAL}, ",
"#{settlementAmount,jdbcType=DECIMAL}, #{isSettlement,jdbcType=SMALLINT}, ",
"#{settlementTime,jdbcType=INTEGER}, #{isMchShop,jdbcType=BIT}, ",
"#{isDivideMoney,jdbcType=BIT}, #{transactionId,jdbcType=VARCHAR}, ",
"#{payUserId,jdbcType=INTEGER}, #{payTypeTrue,jdbcType=BIT}, ",
"#{isVgoods,jdbcType=INTEGER}, #{reductionPrice,jdbcType=DECIMAL}, ",
"#{minusPrice,jdbcType=DECIMAL}, #{orderFrom,jdbcType=INTEGER}, ",
"#{discountPrice,jdbcType=DECIMAL}, #{discountNum,jdbcType=DECIMAL}, ",
"#{giveGoodsId,jdbcType=INTEGER}, #{couponRecordId,jdbcType=VARCHAR}, ",
"#{idCardNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=INTEGER}, ",
"#{content,jdbcType=LONGVARCHAR}, #{addressData,jdbcType=LONGVARCHAR}, ",
"#{offlineQrcode,jdbcType=LONGVARCHAR}, #{integral,jdbcType=LONGVARCHAR}, ",
"#{words,jdbcType=LONGVARCHAR}, #{sellerComments,jdbcType=LONGVARCHAR})"
})
@Options(useGeneratedKeys=true,keyProperty="id")
int insert(CyymallOrderWithBLOBs record);
@InsertProvider(type=CyymallOrderSqlProvider.class, method="insertSelective")
@Options(useGeneratedKeys=true,keyProperty="id")
int insertSelective(CyymallOrderWithBLOBs record);
@SelectProvider(type=CyymallOrderSqlProvider.class, method="selectByExampleWithBLOBs")
@Results({
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true),
@Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER),
@Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER),
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
@Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR),
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR),
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR),
@Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT),
@Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER),
@Result(column="express", property="express", jdbcType=JdbcType.VARCHAR),
@Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR),
@Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT),
@Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT),
@Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER),
@Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER),
@Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER),
@Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER),
@Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT),
@Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER),
@Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL),
@Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER),
@Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER),
@Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER),
@Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER),
@Result(column="version", property="version", jdbcType=JdbcType.VARCHAR),
@Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL),
@Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT),
@Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL),
@Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER),
@Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER),
@Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT),
@Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL),
@Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT),
@Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER),
@Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT),
@Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT),
@Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT),
@Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT),
@Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER),
@Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT),
@Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER),
@Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT),
@Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT),
@Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT),
@Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT),
@Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER),
@Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT),
@Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER),
@Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER),
@Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL),
@Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER),
@Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR),
@Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER),
@Result(column="content", property="content", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="address_data", property="addressData", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="offline_qrcode", property="offlineQrcode", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="integral", property="integral", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="words", property="words", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="seller_comments", property="sellerComments", jdbcType=JdbcType.LONGVARCHAR)
})
List<CyymallOrderWithBLOBs> selectByExampleWithBLOBs(CyymallOrderExample example);
@SelectProvider(type=CyymallOrderSqlProvider.class, method="selectByExample")
@Results({
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true),
@Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER),
@Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER),
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
@Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR),
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR),
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR),
@Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT),
@Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER),
@Result(column="express", property="express", jdbcType=JdbcType.VARCHAR),
@Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR),
@Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT),
@Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT),
@Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER),
@Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER),
@Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER),
@Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER),
@Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT),
@Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER),
@Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL),
@Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER),
@Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER),
@Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER),
@Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER),
@Result(column="version", property="version", jdbcType=JdbcType.VARCHAR),
@Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL),
@Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT),
@Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL),
@Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER),
@Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER),
@Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT),
@Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL),
@Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT),
@Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER),
@Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT),
@Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT),
@Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT),
@Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT),
@Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER),
@Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT),
@Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER),
@Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT),
@Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT),
@Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT),
@Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT),
@Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER),
@Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT),
@Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER),
@Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER),
@Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL),
@Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER),
@Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR),
@Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER)
})
List<CyymallOrder> selectByExample(CyymallOrderExample example);
@Select({
"select",
"id, store_id, user_id, order_no, total_price, pay_price, express_price, `name`, ",
"mobile, address, remark, is_pay, pay_type, pay_time, is_send, send_time, express, ",
"express_no, is_confirm, confirm_time, is_comment, apply_delete, addtime, is_delete, ",
"is_price, parent_id, first_price, second_price, third_price, coupon_sub_price, ",
"is_offline, clerk_id, is_cancel, before_update_price, shop_id, discount, user_coupon_id, ",
"give_integral, parent_id_1, parent_id_2, is_sale, version, express_price_1, ",
"is_recycle, rebate, before_update_express, mch_id, order_union_id, is_transfer, ",
"`type`, share_price, is_show, currency, order_origin, delivery_id, delivery_status, ",
"fy_status, fyjine, fysingle, mch_fyjine, mch_fysingle, is_fan, is_dada, shop_peisong, ",
"is_open_offline, supplier_id, is_sup_transfer, dabao_price, settlement_amount, ",
"is_settlement, settlement_time, is_mch_shop, is_divide_money, transaction_id, ",
"pay_user_id, pay_type_true, is_vgoods, reduction_price, minus_price, order_from, ",
"discount_price, discount_num, give_goods_id, coupon_record_id, id_card_no, refund_time, ",
"content, address_data, offline_qrcode, integral, words, seller_comments",
"from cyymall_order",
"where id = #{id,jdbcType=INTEGER}"
})
@Results({
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true),
@Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER),
@Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER),
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
@Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR),
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR),
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR),
@Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT),
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT),
@Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER),
@Result(column="express", property="express", jdbcType=JdbcType.VARCHAR),
@Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR),
@Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT),
@Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT),
@Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER),
@Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER),
@Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER),
@Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER),
@Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT),
@Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER),
@Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL),
@Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER),
@Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT),
@Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER),
@Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER),
@Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER),
@Result(column="version", property="version", jdbcType=JdbcType.VARCHAR),
@Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL),
@Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT),
@Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL),
@Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER),
@Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER),
@Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT),
@Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL),
@Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT),
@Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER),
@Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT),
@Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT),
@Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL),
@Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL),
@Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT),
@Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT),
@Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER),
@Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT),
@Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER),
@Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT),
@Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT),
@Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER),
@Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT),
@Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT),
@Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER),
@Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT),
@Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER),
@Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER),
@Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL),
@Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER),
@Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR),
@Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER),
@Result(column="content", property="content", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="address_data", property="addressData", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="offline_qrcode", property="offlineQrcode", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="integral", property="integral", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="words", property="words", jdbcType=JdbcType.LONGVARCHAR),
@Result(column="seller_comments", property="sellerComments", jdbcType=JdbcType.LONGVARCHAR)
})
CyymallOrderWithBLOBs selectByPrimaryKey(Integer id);
@UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExampleSelective")
int updateByExampleSelective(@Param("record") CyymallOrderWithBLOBs record, @Param("example") CyymallOrderExample example);
@UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExampleWithBLOBs")
int updateByExampleWithBLOBs(@Param("record") CyymallOrderWithBLOBs record, @Param("example") CyymallOrderExample example);
@UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExample")
int updateByExample(@Param("record") CyymallOrder record, @Param("example") CyymallOrderExample example);
@UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByPrimaryKeySelective")
int updateByPrimaryKeySelective(CyymallOrderWithBLOBs record);
@Update({
"update cyymall_order",
"set store_id = #{storeId,jdbcType=INTEGER},",
"user_id = #{userId,jdbcType=INTEGER},",
"order_no = #{orderNo,jdbcType=VARCHAR},",
"total_price = #{totalPrice,jdbcType=DECIMAL},",
"pay_price = #{payPrice,jdbcType=DECIMAL},",
"express_price = #{expressPrice,jdbcType=DECIMAL},",
"`name` = #{name,jdbcType=VARCHAR},",
"mobile = #{mobile,jdbcType=VARCHAR},",
"address = #{address,jdbcType=VARCHAR},",
"remark = #{remark,jdbcType=VARCHAR},",
"is_pay = #{isPay,jdbcType=SMALLINT},",
"pay_type = #{payType,jdbcType=SMALLINT},",
"pay_time = #{payTime,jdbcType=INTEGER},",
"is_send = #{isSend,jdbcType=SMALLINT},",
"send_time = #{sendTime,jdbcType=INTEGER},",
"express = #{express,jdbcType=VARCHAR},",
"express_no = #{expressNo,jdbcType=VARCHAR},",
"is_confirm = #{isConfirm,jdbcType=SMALLINT},",
"confirm_time = #{confirmTime,jdbcType=INTEGER},",
"is_comment = #{isComment,jdbcType=SMALLINT},",
"apply_delete = #{applyDelete,jdbcType=SMALLINT},",
"addtime = #{addtime,jdbcType=INTEGER},",
"is_delete = #{isDelete,jdbcType=SMALLINT},",
"is_price = #{isPrice,jdbcType=SMALLINT},",
"parent_id = #{parentId,jdbcType=INTEGER},",
"first_price = #{firstPrice,jdbcType=DECIMAL},",
"second_price = #{secondPrice,jdbcType=DECIMAL},",
"third_price = #{thirdPrice,jdbcType=DECIMAL},",
"coupon_sub_price = #{couponSubPrice,jdbcType=DECIMAL},",
"is_offline = #{isOffline,jdbcType=INTEGER},",
"clerk_id = #{clerkId,jdbcType=INTEGER},",
"is_cancel = #{isCancel,jdbcType=SMALLINT},",
"before_update_price = #{beforeUpdatePrice,jdbcType=DECIMAL},",
"shop_id = #{shopId,jdbcType=INTEGER},",
"discount = #{discount,jdbcType=DECIMAL},",
"user_coupon_id = #{userCouponId,jdbcType=INTEGER},",
"give_integral = #{giveIntegral,jdbcType=SMALLINT},",
"parent_id_1 = #{parentId1,jdbcType=INTEGER},",
"parent_id_2 = #{parentId2,jdbcType=INTEGER},",
"is_sale = #{isSale,jdbcType=INTEGER},",
"version = #{version,jdbcType=VARCHAR},",
"express_price_1 = #{expressPrice1,jdbcType=DECIMAL},",
"is_recycle = #{isRecycle,jdbcType=SMALLINT},",
"rebate = #{rebate,jdbcType=DECIMAL},",
"before_update_express = #{beforeUpdateExpress,jdbcType=DECIMAL},",
"mch_id = #{mchId,jdbcType=INTEGER},",
"order_union_id = #{orderUnionId,jdbcType=INTEGER},",
"is_transfer = #{isTransfer,jdbcType=SMALLINT},",
"`type` = #{type,jdbcType=INTEGER},",
"share_price = #{sharePrice,jdbcType=DECIMAL},",
"is_show = #{isShow,jdbcType=SMALLINT},",
"currency = #{currency,jdbcType=DECIMAL},",
"order_origin = #{orderOrigin,jdbcType=BIT},",
"delivery_id = #{deliveryId,jdbcType=INTEGER},",
"delivery_status = #{deliveryStatus,jdbcType=BIT},",
"fy_status = #{fyStatus,jdbcType=BIT},",
"fyjine = #{fyjine,jdbcType=DECIMAL},",
"fysingle = #{fysingle,jdbcType=DECIMAL},",
"mch_fyjine = #{mchFyjine,jdbcType=DECIMAL},",
"mch_fysingle = #{mchFysingle,jdbcType=DECIMAL},",
"is_fan = #{isFan,jdbcType=BIT},",
"is_dada = #{isDada,jdbcType=BIT},",
"shop_peisong = #{shopPeisong,jdbcType=INTEGER},",
"is_open_offline = #{isOpenOffline,jdbcType=BIT},",
"supplier_id = #{supplierId,jdbcType=INTEGER},",
"is_sup_transfer = #{isSupTransfer,jdbcType=BIT},",
"dabao_price = #{dabaoPrice,jdbcType=DECIMAL},",
"settlement_amount = #{settlementAmount,jdbcType=DECIMAL},",
"is_settlement = #{isSettlement,jdbcType=SMALLINT},",
"settlement_time = #{settlementTime,jdbcType=INTEGER},",
"is_mch_shop = #{isMchShop,jdbcType=BIT},",
"is_divide_money = #{isDivideMoney,jdbcType=BIT},",
"transaction_id = #{transactionId,jdbcType=VARCHAR},",
"pay_user_id = #{payUserId,jdbcType=INTEGER},",
"pay_type_true = #{payTypeTrue,jdbcType=BIT},",
"is_vgoods = #{isVgoods,jdbcType=INTEGER},",
"reduction_price = #{reductionPrice,jdbcType=DECIMAL},",
"minus_price = #{minusPrice,jdbcType=DECIMAL},",
"order_from = #{orderFrom,jdbcType=INTEGER},",
"discount_price = #{discountPrice,jdbcType=DECIMAL},",
"discount_num = #{discountNum,jdbcType=DECIMAL},",
"give_goods_id = #{giveGoodsId,jdbcType=INTEGER},",
"coupon_record_id = #{couponRecordId,jdbcType=VARCHAR},",
"id_card_no = #{idCardNo,jdbcType=VARCHAR},",
"refund_time = #{refundTime,jdbcType=INTEGER},",
"content = #{content,jdbcType=LONGVARCHAR},",
"address_data = #{addressData,jdbcType=LONGVARCHAR},",
"offline_qrcode = #{offlineQrcode,jdbcType=LONGVARCHAR},",
"integral = #{integral,jdbcType=LONGVARCHAR},",
"words = #{words,jdbcType=LONGVARCHAR},",
"seller_comments = #{sellerComments,jdbcType=LONGVARCHAR}",
"where id = #{id,jdbcType=INTEGER}"
})
int updateByPrimaryKeyWithBLOBs(CyymallOrderWithBLOBs record);
@Update({
"update cyymall_order",
"set store_id = #{storeId,jdbcType=INTEGER},",
"user_id = #{userId,jdbcType=INTEGER},",
"order_no = #{orderNo,jdbcType=VARCHAR},",
"total_price = #{totalPrice,jdbcType=DECIMAL},",
"pay_price = #{payPrice,jdbcType=DECIMAL},",
"express_price = #{expressPrice,jdbcType=DECIMAL},",
"`name` = #{name,jdbcType=VARCHAR},",
"mobile = #{mobile,jdbcType=VARCHAR},",
"address = #{address,jdbcType=VARCHAR},",
"remark = #{remark,jdbcType=VARCHAR},",
"is_pay = #{isPay,jdbcType=SMALLINT},",
"pay_type = #{payType,jdbcType=SMALLINT},",
"pay_time = #{payTime,jdbcType=INTEGER},",
"is_send = #{isSend,jdbcType=SMALLINT},",
"send_time = #{sendTime,jdbcType=INTEGER},",
"express = #{express,jdbcType=VARCHAR},",
"express_no = #{expressNo,jdbcType=VARCHAR},",
"is_confirm = #{isConfirm,jdbcType=SMALLINT},",
"confirm_time = #{confirmTime,jdbcType=INTEGER},",
"is_comment = #{isComment,jdbcType=SMALLINT},",
"apply_delete = #{applyDelete,jdbcType=SMALLINT},",
"addtime = #{addtime,jdbcType=INTEGER},",
"is_delete = #{isDelete,jdbcType=SMALLINT},",
"is_price = #{isPrice,jdbcType=SMALLINT},",
"parent_id = #{parentId,jdbcType=INTEGER},",
"first_price = #{firstPrice,jdbcType=DECIMAL},",
"second_price = #{secondPrice,jdbcType=DECIMAL},",
"third_price = #{thirdPrice,jdbcType=DECIMAL},",
"coupon_sub_price = #{couponSubPrice,jdbcType=DECIMAL},",
"is_offline = #{isOffline,jdbcType=INTEGER},",
"clerk_id = #{clerkId,jdbcType=INTEGER},",
"is_cancel = #{isCancel,jdbcType=SMALLINT},",
"before_update_price = #{beforeUpdatePrice,jdbcType=DECIMAL},",
"shop_id = #{shopId,jdbcType=INTEGER},",
"discount = #{discount,jdbcType=DECIMAL},",
"user_coupon_id = #{userCouponId,jdbcType=INTEGER},",
"give_integral = #{giveIntegral,jdbcType=SMALLINT},",
"parent_id_1 = #{parentId1,jdbcType=INTEGER},",
"parent_id_2 = #{parentId2,jdbcType=INTEGER},",
"is_sale = #{isSale,jdbcType=INTEGER},",
"version = #{version,jdbcType=VARCHAR},",
"express_price_1 = #{expressPrice1,jdbcType=DECIMAL},",
"is_recycle = #{isRecycle,jdbcType=SMALLINT},",
"rebate = #{rebate,jdbcType=DECIMAL},",
"before_update_express = #{beforeUpdateExpress,jdbcType=DECIMAL},",
"mch_id = #{mchId,jdbcType=INTEGER},",
"order_union_id = #{orderUnionId,jdbcType=INTEGER},",
"is_transfer = #{isTransfer,jdbcType=SMALLINT},",
"`type` = #{type,jdbcType=INTEGER},",
"share_price = #{sharePrice,jdbcType=DECIMAL},",
"is_show = #{isShow,jdbcType=SMALLINT},",
"currency = #{currency,jdbcType=DECIMAL},",
"order_origin = #{orderOrigin,jdbcType=BIT},",
"delivery_id = #{deliveryId,jdbcType=INTEGER},",
"delivery_status = #{deliveryStatus,jdbcType=BIT},",
"fy_status = #{fyStatus,jdbcType=BIT},",
"fyjine = #{fyjine,jdbcType=DECIMAL},",
"fysingle = #{fysingle,jdbcType=DECIMAL},",
"mch_fyjine = #{mchFyjine,jdbcType=DECIMAL},",
"mch_fysingle = #{mchFysingle,jdbcType=DECIMAL},",
"is_fan = #{isFan,jdbcType=BIT},",
"is_dada = #{isDada,jdbcType=BIT},",
"shop_peisong = #{shopPeisong,jdbcType=INTEGER},",
"is_open_offline = #{isOpenOffline,jdbcType=BIT},",
"supplier_id = #{supplierId,jdbcType=INTEGER},",
"is_sup_transfer = #{isSupTransfer,jdbcType=BIT},",
"dabao_price = #{dabaoPrice,jdbcType=DECIMAL},",
"settlement_amount = #{settlementAmount,jdbcType=DECIMAL},",
"is_settlement = #{isSettlement,jdbcType=SMALLINT},",
"settlement_time = #{settlementTime,jdbcType=INTEGER},",
"is_mch_shop = #{isMchShop,jdbcType=BIT},",
"is_divide_money = #{isDivideMoney,jdbcType=BIT},",
"transaction_id = #{transactionId,jdbcType=VARCHAR},",
"pay_user_id = #{payUserId,jdbcType=INTEGER},",
"pay_type_true = #{payTypeTrue,jdbcType=BIT},",
"is_vgoods = #{isVgoods,jdbcType=INTEGER},",
"reduction_price = #{reductionPrice,jdbcType=DECIMAL},",
"minus_price = #{minusPrice,jdbcType=DECIMAL},",
"order_from = #{orderFrom,jdbcType=INTEGER},",
"discount_price = #{discountPrice,jdbcType=DECIMAL},",
"discount_num = #{discountNum,jdbcType=DECIMAL},",
"give_goods_id = #{giveGoodsId,jdbcType=INTEGER},",
"coupon_record_id = #{couponRecordId,jdbcType=VARCHAR},",
"id_card_no = #{idCardNo,jdbcType=VARCHAR},",
"refund_time = #{refundTime,jdbcType=INTEGER}",
"where id = #{id,jdbcType=INTEGER}"
})
int updateByPrimaryKey(CyymallOrder record);
}

@ -1,7 +0,0 @@
package com.cg.dao;
/**
* mapper扩展类
*/
public interface CyymallOrderMapperExt {
}

@ -1,332 +0,0 @@
package com.cg.dao;
import com.cg.entity.CyymallUser;
import com.cg.entity.CyymallUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.type.JdbcType;
import org.springframework.stereotype.Repository;
/**
*
* 代码由工具生成,请勿修改!!!
* 如果需要扩展请在其父类进行扩展
*
**/
@Repository
public interface CyymallUserMapper extends CyymallUserMapperExt {
@SelectProvider(type=CyymallUserSqlProvider.class, method="countByExample")
long countByExample(CyymallUserExample example);
@DeleteProvider(type=CyymallUserSqlProvider.class, method="deleteByExample")
int deleteByExample(CyymallUserExample example);
@Delete({
"delete from cyymall_user",
"where id = #{id,jdbcType=INTEGER}"
})
int deleteByPrimaryKey(Integer id);
@Insert({
"insert into cyymall_user (`type`, username, ",
"`password`, auth_key, ",
"access_token, addtime, ",
"is_delete, wechat_open_id, ",
"wechat_union_id, nickname, ",
"avatar_url, store_id, ",
"is_distributor, parent_id, ",
"`time`, total_price, ",
"price, is_clerk, ",
"we7_uid, shop_id, ",
"`level`, integral, ",
"total_integral, money, ",
"contact_way, comments, ",
"binding, wechat_platform_open_id, ",
"platform, blacklist, ",
"parent_user_id, appcid, ",
"is_admin, tuan_price, ",
"is_delivery, mch_id, real_name, ",
"real_code, real_just_pic, ",
"real_back_pic, is_real, ",
"live_price, fyjine, ",
"yifan, delivery_office, ",
"subsidy_price, delivery_mch_id, ",
"clerk_mch_id, is_group_centre, ",
"sex, birth_date, ",
"is_vgoods, share_cat_id, ",
"user_label, gh_card_no, ",
"gh_card_pwd, channel_phone, ",
"channel_sign, email, ",
"apply_time, apply_status)",
"values (#{type,jdbcType=SMALLINT}, #{username,jdbcType=VARCHAR}, ",
"#{password,jdbcType=VARCHAR}, #{authKey,jdbcType=VARCHAR}, ",
"#{accessToken,jdbcType=VARCHAR}, #{addtime,jdbcType=INTEGER}, ",
"#{isDelete,jdbcType=SMALLINT}, #{wechatOpenId,jdbcType=VARCHAR}, ",
"#{wechatUnionId,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, ",
"#{avatarUrl,jdbcType=VARCHAR}, #{storeId,jdbcType=INTEGER}, ",
"#{isDistributor,jdbcType=INTEGER}, #{parentId,jdbcType=INTEGER}, ",
"#{time,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ",
"#{price,jdbcType=DECIMAL}, #{isClerk,jdbcType=INTEGER}, ",
"#{we7Uid,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, ",
"#{level,jdbcType=INTEGER}, #{integral,jdbcType=INTEGER}, ",
"#{totalIntegral,jdbcType=INTEGER}, #{money,jdbcType=DECIMAL}, ",
"#{contactWay,jdbcType=VARCHAR}, #{comments,jdbcType=VARCHAR}, ",
"#{binding,jdbcType=CHAR}, #{wechatPlatformOpenId,jdbcType=VARCHAR}, ",
"#{platform,jdbcType=TINYINT}, #{blacklist,jdbcType=BIT}, ",
"#{parentUserId,jdbcType=INTEGER}, #{appcid,jdbcType=VARCHAR}, ",
"#{isAdmin,jdbcType=BIT}, #{tuanPrice,jdbcType=DECIMAL}, ",
"#{isDelivery,jdbcType=BIT}, #{mchId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, ",
"#{realCode,jdbcType=VARCHAR}, #{realJustPic,jdbcType=VARCHAR}, ",
"#{realBackPic,jdbcType=VARCHAR}, #{isReal,jdbcType=BIT}, ",
"#{livePrice,jdbcType=DECIMAL}, #{fyjine,jdbcType=VARCHAR}, ",
"#{yifan,jdbcType=VARCHAR}, #{deliveryOffice,jdbcType=BIT}, ",
"#{subsidyPrice,jdbcType=DECIMAL}, #{deliveryMchId,jdbcType=INTEGER}, ",
"#{clerkMchId,jdbcType=INTEGER}, #{isGroupCentre,jdbcType=INTEGER}, ",
"#{sex,jdbcType=INTEGER}, #{birthDate,jdbcType=VARCHAR}, ",
"#{isVgoods,jdbcType=INTEGER}, #{shareCatId,jdbcType=INTEGER}, ",
"#{userLabel,jdbcType=INTEGER}, #{ghCardNo,jdbcType=VARCHAR}, ",
"#{ghCardPwd,jdbcType=INTEGER}, #{channelPhone,jdbcType=CHAR}, ",
"#{channelSign,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, ",
"#{applyTime,jdbcType=INTEGER}, #{applyStatus,jdbcType=SMALLINT})"
})
@Options(useGeneratedKeys=true,keyProperty="id")
int insert(CyymallUser record);
@InsertProvider(type=CyymallUserSqlProvider.class, method="insertSelective")
@Options(useGeneratedKeys=true,keyProperty="id")
int insertSelective(CyymallUser record);
@SelectProvider(type=CyymallUserSqlProvider.class, method="selectByExample")
@Results({
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true),
@Result(column="type", property="type", jdbcType=JdbcType.SMALLINT),
@Result(column="username", property="username", jdbcType=JdbcType.VARCHAR),
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR),
@Result(column="auth_key", property="authKey", jdbcType=JdbcType.VARCHAR),
@Result(column="access_token", property="accessToken", jdbcType=JdbcType.VARCHAR),
@Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER),
@Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR),
@Result(column="wechat_union_id", property="wechatUnionId", jdbcType=JdbcType.VARCHAR),
@Result(column="nickname", property="nickname", jdbcType=JdbcType.VARCHAR),
@Result(column="avatar_url", property="avatarUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER),
@Result(column="is_distributor", property="isDistributor", jdbcType=JdbcType.INTEGER),
@Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER),
@Result(column="time", property="time", jdbcType=JdbcType.INTEGER),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL),
@Result(column="is_clerk", property="isClerk", jdbcType=JdbcType.INTEGER),
@Result(column="we7_uid", property="we7Uid", jdbcType=JdbcType.INTEGER),
@Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="integral", property="integral", jdbcType=JdbcType.INTEGER),
@Result(column="total_integral", property="totalIntegral", jdbcType=JdbcType.INTEGER),
@Result(column="money", property="money", jdbcType=JdbcType.DECIMAL),
@Result(column="contact_way", property="contactWay", jdbcType=JdbcType.VARCHAR),
@Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR),
@Result(column="binding", property="binding", jdbcType=JdbcType.CHAR),
@Result(column="wechat_platform_open_id", property="wechatPlatformOpenId", jdbcType=JdbcType.VARCHAR),
@Result(column="platform", property="platform", jdbcType=JdbcType.TINYINT),
@Result(column="blacklist", property="blacklist", jdbcType=JdbcType.BIT),
@Result(column="parent_user_id", property="parentUserId", jdbcType=JdbcType.INTEGER),
@Result(column="appcid", property="appcid", jdbcType=JdbcType.VARCHAR),
@Result(column="is_admin", property="isAdmin", jdbcType=JdbcType.BIT),
@Result(column="tuan_price", property="tuanPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_delivery", property="isDelivery", jdbcType=JdbcType.BIT),
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER),
@Result(column="real_name", property="realName", jdbcType=JdbcType.VARCHAR),
@Result(column="real_code", property="realCode", jdbcType=JdbcType.VARCHAR),
@Result(column="real_just_pic", property="realJustPic", jdbcType=JdbcType.VARCHAR),
@Result(column="real_back_pic", property="realBackPic", jdbcType=JdbcType.VARCHAR),
@Result(column="is_real", property="isReal", jdbcType=JdbcType.BIT),
@Result(column="live_price", property="livePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="fyjine", property="fyjine", jdbcType=JdbcType.VARCHAR),
@Result(column="yifan", property="yifan", jdbcType=JdbcType.VARCHAR),
@Result(column="delivery_office", property="deliveryOffice", jdbcType=JdbcType.BIT),
@Result(column="subsidy_price", property="subsidyPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="delivery_mch_id", property="deliveryMchId", jdbcType=JdbcType.INTEGER),
@Result(column="clerk_mch_id", property="clerkMchId", jdbcType=JdbcType.INTEGER),
@Result(column="is_group_centre", property="isGroupCentre", jdbcType=JdbcType.INTEGER),
@Result(column="sex", property="sex", jdbcType=JdbcType.INTEGER),
@Result(column="birth_date", property="birthDate", jdbcType=JdbcType.VARCHAR),
@Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER),
@Result(column="share_cat_id", property="shareCatId", jdbcType=JdbcType.INTEGER),
@Result(column="user_label", property="userLabel", jdbcType=JdbcType.INTEGER),
@Result(column="gh_card_no", property="ghCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="gh_card_pwd", property="ghCardPwd", jdbcType=JdbcType.INTEGER),
@Result(column="channel_phone", property="channelPhone", jdbcType=JdbcType.CHAR),
@Result(column="channel_sign", property="channelSign", jdbcType=JdbcType.VARCHAR),
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR),
@Result(column="apply_time", property="applyTime", jdbcType=JdbcType.INTEGER),
@Result(column="apply_status", property="applyStatus", jdbcType=JdbcType.SMALLINT)
})
List<CyymallUser> selectByExample(CyymallUserExample example);
@Select({
"select",
"id, `type`, username, `password`, auth_key, access_token, addtime, is_delete, ",
"wechat_open_id, wechat_union_id, nickname, avatar_url, store_id, is_distributor, ",
"parent_id, `time`, total_price, price, is_clerk, we7_uid, shop_id, `level`, ",
"integral, total_integral, money, contact_way, comments, binding, wechat_platform_open_id, ",
"platform, blacklist, parent_user_id, appcid, is_admin, tuan_price, is_delivery, ",
"mch_id, real_name, real_code, real_just_pic, real_back_pic, is_real, live_price, ",
"fyjine, yifan, delivery_office, subsidy_price, delivery_mch_id, clerk_mch_id, ",
"is_group_centre, sex, birth_date, is_vgoods, share_cat_id, user_label, gh_card_no, ",
"gh_card_pwd, channel_phone, channel_sign, email, apply_time, apply_status",
"from cyymall_user",
"where id = #{id,jdbcType=INTEGER}"
})
@Results({
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true),
@Result(column="type", property="type", jdbcType=JdbcType.SMALLINT),
@Result(column="username", property="username", jdbcType=JdbcType.VARCHAR),
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR),
@Result(column="auth_key", property="authKey", jdbcType=JdbcType.VARCHAR),
@Result(column="access_token", property="accessToken", jdbcType=JdbcType.VARCHAR),
@Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER),
@Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT),
@Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR),
@Result(column="wechat_union_id", property="wechatUnionId", jdbcType=JdbcType.VARCHAR),
@Result(column="nickname", property="nickname", jdbcType=JdbcType.VARCHAR),
@Result(column="avatar_url", property="avatarUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER),
@Result(column="is_distributor", property="isDistributor", jdbcType=JdbcType.INTEGER),
@Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER),
@Result(column="time", property="time", jdbcType=JdbcType.INTEGER),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL),
@Result(column="is_clerk", property="isClerk", jdbcType=JdbcType.INTEGER),
@Result(column="we7_uid", property="we7Uid", jdbcType=JdbcType.INTEGER),
@Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="integral", property="integral", jdbcType=JdbcType.INTEGER),
@Result(column="total_integral", property="totalIntegral", jdbcType=JdbcType.INTEGER),
@Result(column="money", property="money", jdbcType=JdbcType.DECIMAL),
@Result(column="contact_way", property="contactWay", jdbcType=JdbcType.VARCHAR),
@Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR),
@Result(column="binding", property="binding", jdbcType=JdbcType.CHAR),
@Result(column="wechat_platform_open_id", property="wechatPlatformOpenId", jdbcType=JdbcType.VARCHAR),
@Result(column="platform", property="platform", jdbcType=JdbcType.TINYINT),
@Result(column="blacklist", property="blacklist", jdbcType=JdbcType.BIT),
@Result(column="parent_user_id", property="parentUserId", jdbcType=JdbcType.INTEGER),
@Result(column="appcid", property="appcid", jdbcType=JdbcType.VARCHAR),
@Result(column="is_admin", property="isAdmin", jdbcType=JdbcType.BIT),
@Result(column="tuan_price", property="tuanPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="is_delivery", property="isDelivery", jdbcType=JdbcType.BIT),
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER),
@Result(column="real_name", property="realName", jdbcType=JdbcType.VARCHAR),
@Result(column="real_code", property="realCode", jdbcType=JdbcType.VARCHAR),
@Result(column="real_just_pic", property="realJustPic", jdbcType=JdbcType.VARCHAR),
@Result(column="real_back_pic", property="realBackPic", jdbcType=JdbcType.VARCHAR),
@Result(column="is_real", property="isReal", jdbcType=JdbcType.BIT),
@Result(column="live_price", property="livePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="fyjine", property="fyjine", jdbcType=JdbcType.VARCHAR),
@Result(column="yifan", property="yifan", jdbcType=JdbcType.VARCHAR),
@Result(column="delivery_office", property="deliveryOffice", jdbcType=JdbcType.BIT),
@Result(column="subsidy_price", property="subsidyPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="delivery_mch_id", property="deliveryMchId", jdbcType=JdbcType.INTEGER),
@Result(column="clerk_mch_id", property="clerkMchId", jdbcType=JdbcType.INTEGER),
@Result(column="is_group_centre", property="isGroupCentre", jdbcType=JdbcType.INTEGER),
@Result(column="sex", property="sex", jdbcType=JdbcType.INTEGER),
@Result(column="birth_date", property="birthDate", jdbcType=JdbcType.VARCHAR),
@Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER),
@Result(column="share_cat_id", property="shareCatId", jdbcType=JdbcType.INTEGER),
@Result(column="user_label", property="userLabel", jdbcType=JdbcType.INTEGER),
@Result(column="gh_card_no", property="ghCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="gh_card_pwd", property="ghCardPwd", jdbcType=JdbcType.INTEGER),
@Result(column="channel_phone", property="channelPhone", jdbcType=JdbcType.CHAR),
@Result(column="channel_sign", property="channelSign", jdbcType=JdbcType.VARCHAR),
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR),
@Result(column="apply_time", property="applyTime", jdbcType=JdbcType.INTEGER),
@Result(column="apply_status", property="applyStatus", jdbcType=JdbcType.SMALLINT)
})
CyymallUser selectByPrimaryKey(Integer id);
@UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByExampleSelective")
int updateByExampleSelective(@Param("record") CyymallUser record, @Param("example") CyymallUserExample example);
@UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByExample")
int updateByExample(@Param("record") CyymallUser record, @Param("example") CyymallUserExample example);
@UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByPrimaryKeySelective")
int updateByPrimaryKeySelective(CyymallUser record);
@Update({
"update cyymall_user",
"set `type` = #{type,jdbcType=SMALLINT},",
"username = #{username,jdbcType=VARCHAR},",
"`password` = #{password,jdbcType=VARCHAR},",
"auth_key = #{authKey,jdbcType=VARCHAR},",
"access_token = #{accessToken,jdbcType=VARCHAR},",
"addtime = #{addtime,jdbcType=INTEGER},",
"is_delete = #{isDelete,jdbcType=SMALLINT},",
"wechat_open_id = #{wechatOpenId,jdbcType=VARCHAR},",
"wechat_union_id = #{wechatUnionId,jdbcType=VARCHAR},",
"nickname = #{nickname,jdbcType=VARCHAR},",
"avatar_url = #{avatarUrl,jdbcType=VARCHAR},",
"store_id = #{storeId,jdbcType=INTEGER},",
"is_distributor = #{isDistributor,jdbcType=INTEGER},",
"parent_id = #{parentId,jdbcType=INTEGER},",
"`time` = #{time,jdbcType=INTEGER},",
"total_price = #{totalPrice,jdbcType=DECIMAL},",
"price = #{price,jdbcType=DECIMAL},",
"is_clerk = #{isClerk,jdbcType=INTEGER},",
"we7_uid = #{we7Uid,jdbcType=INTEGER},",
"shop_id = #{shopId,jdbcType=INTEGER},",
"`level` = #{level,jdbcType=INTEGER},",
"integral = #{integral,jdbcType=INTEGER},",
"total_integral = #{totalIntegral,jdbcType=INTEGER},",
"money = #{money,jdbcType=DECIMAL},",
"contact_way = #{contactWay,jdbcType=VARCHAR},",
"comments = #{comments,jdbcType=VARCHAR},",
"binding = #{binding,jdbcType=CHAR},",
"wechat_platform_open_id = #{wechatPlatformOpenId,jdbcType=VARCHAR},",
"platform = #{platform,jdbcType=TINYINT},",
"blacklist = #{blacklist,jdbcType=BIT},",
"parent_user_id = #{parentUserId,jdbcType=INTEGER},",
"appcid = #{appcid,jdbcType=VARCHAR},",
"is_admin = #{isAdmin,jdbcType=BIT},",
"tuan_price = #{tuanPrice,jdbcType=DECIMAL},",
"is_delivery = #{isDelivery,jdbcType=BIT},",
"mch_id = #{mchId,jdbcType=INTEGER},",
"real_name = #{realName,jdbcType=VARCHAR},",
"real_code = #{realCode,jdbcType=VARCHAR},",
"real_just_pic = #{realJustPic,jdbcType=VARCHAR},",
"real_back_pic = #{realBackPic,jdbcType=VARCHAR},",
"is_real = #{isReal,jdbcType=BIT},",
"live_price = #{livePrice,jdbcType=DECIMAL},",
"fyjine = #{fyjine,jdbcType=VARCHAR},",
"yifan = #{yifan,jdbcType=VARCHAR},",
"delivery_office = #{deliveryOffice,jdbcType=BIT},",
"subsidy_price = #{subsidyPrice,jdbcType=DECIMAL},",
"delivery_mch_id = #{deliveryMchId,jdbcType=INTEGER},",
"clerk_mch_id = #{clerkMchId,jdbcType=INTEGER},",
"is_group_centre = #{isGroupCentre,jdbcType=INTEGER},",
"sex = #{sex,jdbcType=INTEGER},",
"birth_date = #{birthDate,jdbcType=VARCHAR},",
"is_vgoods = #{isVgoods,jdbcType=INTEGER},",
"share_cat_id = #{shareCatId,jdbcType=INTEGER},",
"user_label = #{userLabel,jdbcType=INTEGER},",
"gh_card_no = #{ghCardNo,jdbcType=VARCHAR},",
"gh_card_pwd = #{ghCardPwd,jdbcType=INTEGER},",
"channel_phone = #{channelPhone,jdbcType=CHAR},",
"channel_sign = #{channelSign,jdbcType=VARCHAR},",
"email = #{email,jdbcType=VARCHAR},",
"apply_time = #{applyTime,jdbcType=INTEGER},",
"apply_status = #{applyStatus,jdbcType=SMALLINT}",
"where id = #{id,jdbcType=INTEGER}"
})
int updateByPrimaryKey(CyymallUser record);
}

@ -1,7 +0,0 @@
package com.cg.dao;
/**
* mapper扩展类
*/
public interface CyymallUserMapperExt {
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,308 +0,0 @@
package com.cg.entity;
import java.io.Serializable;
/**
* cyymall_order
* @author
*/
public class CyymallOrderWithBLOBs extends CyymallOrder implements Serializable {
private String content;
/**
* 收货地址信息json格式
*/
private String addressData;
/**
* 核销码
*/
private String offlineQrcode;
/**
* 积分使用
*/
private String integral;
/**
* 商家留言
*/
private String words;
/**
* 商家备注
*/
private String sellerComments;
private static final long serialVersionUID = 1L;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getAddressData() {
return addressData;
}
public void setAddressData(String addressData) {
this.addressData = addressData;
}
public String getOfflineQrcode() {
return offlineQrcode;
}
public void setOfflineQrcode(String offlineQrcode) {
this.offlineQrcode = offlineQrcode;
}
public String getIntegral() {
return integral;
}
public void setIntegral(String integral) {
this.integral = integral;
}
public String getWords() {
return words;
}
public void setWords(String words) {
this.words = words;
}
public String getSellerComments() {
return sellerComments;
}
public void setSellerComments(String sellerComments) {
this.sellerComments = sellerComments;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CyymallOrderWithBLOBs other = (CyymallOrderWithBLOBs) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
&& (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice()))
&& (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice()))
&& (this.getExpressPrice() == null ? other.getExpressPrice() == null : this.getExpressPrice().equals(other.getExpressPrice()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
&& (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
&& (this.getIsPay() == null ? other.getIsPay() == null : this.getIsPay().equals(other.getIsPay()))
&& (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType()))
&& (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
&& (this.getIsSend() == null ? other.getIsSend() == null : this.getIsSend().equals(other.getIsSend()))
&& (this.getSendTime() == null ? other.getSendTime() == null : this.getSendTime().equals(other.getSendTime()))
&& (this.getExpress() == null ? other.getExpress() == null : this.getExpress().equals(other.getExpress()))
&& (this.getExpressNo() == null ? other.getExpressNo() == null : this.getExpressNo().equals(other.getExpressNo()))
&& (this.getIsConfirm() == null ? other.getIsConfirm() == null : this.getIsConfirm().equals(other.getIsConfirm()))
&& (this.getConfirmTime() == null ? other.getConfirmTime() == null : this.getConfirmTime().equals(other.getConfirmTime()))
&& (this.getIsComment() == null ? other.getIsComment() == null : this.getIsComment().equals(other.getIsComment()))
&& (this.getApplyDelete() == null ? other.getApplyDelete() == null : this.getApplyDelete().equals(other.getApplyDelete()))
&& (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime()))
&& (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
&& (this.getIsPrice() == null ? other.getIsPrice() == null : this.getIsPrice().equals(other.getIsPrice()))
&& (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId()))
&& (this.getFirstPrice() == null ? other.getFirstPrice() == null : this.getFirstPrice().equals(other.getFirstPrice()))
&& (this.getSecondPrice() == null ? other.getSecondPrice() == null : this.getSecondPrice().equals(other.getSecondPrice()))
&& (this.getThirdPrice() == null ? other.getThirdPrice() == null : this.getThirdPrice().equals(other.getThirdPrice()))
&& (this.getCouponSubPrice() == null ? other.getCouponSubPrice() == null : this.getCouponSubPrice().equals(other.getCouponSubPrice()))
&& (this.getIsOffline() == null ? other.getIsOffline() == null : this.getIsOffline().equals(other.getIsOffline()))
&& (this.getClerkId() == null ? other.getClerkId() == null : this.getClerkId().equals(other.getClerkId()))
&& (this.getIsCancel() == null ? other.getIsCancel() == null : this.getIsCancel().equals(other.getIsCancel()))
&& (this.getBeforeUpdatePrice() == null ? other.getBeforeUpdatePrice() == null : this.getBeforeUpdatePrice().equals(other.getBeforeUpdatePrice()))
&& (this.getShopId() == null ? other.getShopId() == null : this.getShopId().equals(other.getShopId()))
&& (this.getDiscount() == null ? other.getDiscount() == null : this.getDiscount().equals(other.getDiscount()))
&& (this.getUserCouponId() == null ? other.getUserCouponId() == null : this.getUserCouponId().equals(other.getUserCouponId()))
&& (this.getGiveIntegral() == null ? other.getGiveIntegral() == null : this.getGiveIntegral().equals(other.getGiveIntegral()))
&& (this.getParentId1() == null ? other.getParentId1() == null : this.getParentId1().equals(other.getParentId1()))
&& (this.getParentId2() == null ? other.getParentId2() == null : this.getParentId2().equals(other.getParentId2()))
&& (this.getIsSale() == null ? other.getIsSale() == null : this.getIsSale().equals(other.getIsSale()))
&& (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()))
&& (this.getExpressPrice1() == null ? other.getExpressPrice1() == null : this.getExpressPrice1().equals(other.getExpressPrice1()))
&& (this.getIsRecycle() == null ? other.getIsRecycle() == null : this.getIsRecycle().equals(other.getIsRecycle()))
&& (this.getRebate() == null ? other.getRebate() == null : this.getRebate().equals(other.getRebate()))
&& (this.getBeforeUpdateExpress() == null ? other.getBeforeUpdateExpress() == null : this.getBeforeUpdateExpress().equals(other.getBeforeUpdateExpress()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getOrderUnionId() == null ? other.getOrderUnionId() == null : this.getOrderUnionId().equals(other.getOrderUnionId()))
&& (this.getIsTransfer() == null ? other.getIsTransfer() == null : this.getIsTransfer().equals(other.getIsTransfer()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getSharePrice() == null ? other.getSharePrice() == null : this.getSharePrice().equals(other.getSharePrice()))
&& (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow()))
&& (this.getCurrency() == null ? other.getCurrency() == null : this.getCurrency().equals(other.getCurrency()))
&& (this.getOrderOrigin() == null ? other.getOrderOrigin() == null : this.getOrderOrigin().equals(other.getOrderOrigin()))
&& (this.getDeliveryId() == null ? other.getDeliveryId() == null : this.getDeliveryId().equals(other.getDeliveryId()))
&& (this.getDeliveryStatus() == null ? other.getDeliveryStatus() == null : this.getDeliveryStatus().equals(other.getDeliveryStatus()))
&& (this.getFyStatus() == null ? other.getFyStatus() == null : this.getFyStatus().equals(other.getFyStatus()))
&& (this.getFyjine() == null ? other.getFyjine() == null : this.getFyjine().equals(other.getFyjine()))
&& (this.getFysingle() == null ? other.getFysingle() == null : this.getFysingle().equals(other.getFysingle()))
&& (this.getMchFyjine() == null ? other.getMchFyjine() == null : this.getMchFyjine().equals(other.getMchFyjine()))
&& (this.getMchFysingle() == null ? other.getMchFysingle() == null : this.getMchFysingle().equals(other.getMchFysingle()))
&& (this.getIsFan() == null ? other.getIsFan() == null : this.getIsFan().equals(other.getIsFan()))
&& (this.getIsDada() == null ? other.getIsDada() == null : this.getIsDada().equals(other.getIsDada()))
&& (this.getShopPeisong() == null ? other.getShopPeisong() == null : this.getShopPeisong().equals(other.getShopPeisong()))
&& (this.getIsOpenOffline() == null ? other.getIsOpenOffline() == null : this.getIsOpenOffline().equals(other.getIsOpenOffline()))
&& (this.getSupplierId() == null ? other.getSupplierId() == null : this.getSupplierId().equals(other.getSupplierId()))
&& (this.getIsSupTransfer() == null ? other.getIsSupTransfer() == null : this.getIsSupTransfer().equals(other.getIsSupTransfer()))
&& (this.getDabaoPrice() == null ? other.getDabaoPrice() == null : this.getDabaoPrice().equals(other.getDabaoPrice()))
&& (this.getSettlementAmount() == null ? other.getSettlementAmount() == null : this.getSettlementAmount().equals(other.getSettlementAmount()))
&& (this.getIsSettlement() == null ? other.getIsSettlement() == null : this.getIsSettlement().equals(other.getIsSettlement()))
&& (this.getSettlementTime() == null ? other.getSettlementTime() == null : this.getSettlementTime().equals(other.getSettlementTime()))
&& (this.getIsMchShop() == null ? other.getIsMchShop() == null : this.getIsMchShop().equals(other.getIsMchShop()))
&& (this.getIsDivideMoney() == null ? other.getIsDivideMoney() == null : this.getIsDivideMoney().equals(other.getIsDivideMoney()))
&& (this.getTransactionId() == null ? other.getTransactionId() == null : this.getTransactionId().equals(other.getTransactionId()))
&& (this.getPayUserId() == null ? other.getPayUserId() == null : this.getPayUserId().equals(other.getPayUserId()))
&& (this.getPayTypeTrue() == null ? other.getPayTypeTrue() == null : this.getPayTypeTrue().equals(other.getPayTypeTrue()))
&& (this.getIsVgoods() == null ? other.getIsVgoods() == null : this.getIsVgoods().equals(other.getIsVgoods()))
&& (this.getReductionPrice() == null ? other.getReductionPrice() == null : this.getReductionPrice().equals(other.getReductionPrice()))
&& (this.getMinusPrice() == null ? other.getMinusPrice() == null : this.getMinusPrice().equals(other.getMinusPrice()))
&& (this.getOrderFrom() == null ? other.getOrderFrom() == null : this.getOrderFrom().equals(other.getOrderFrom()))
&& (this.getDiscountPrice() == null ? other.getDiscountPrice() == null : this.getDiscountPrice().equals(other.getDiscountPrice()))
&& (this.getDiscountNum() == null ? other.getDiscountNum() == null : this.getDiscountNum().equals(other.getDiscountNum()))
&& (this.getGiveGoodsId() == null ? other.getGiveGoodsId() == null : this.getGiveGoodsId().equals(other.getGiveGoodsId()))
&& (this.getCouponRecordId() == null ? other.getCouponRecordId() == null : this.getCouponRecordId().equals(other.getCouponRecordId()))
&& (this.getIdCardNo() == null ? other.getIdCardNo() == null : this.getIdCardNo().equals(other.getIdCardNo()))
&& (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
&& (this.getAddressData() == null ? other.getAddressData() == null : this.getAddressData().equals(other.getAddressData()))
&& (this.getOfflineQrcode() == null ? other.getOfflineQrcode() == null : this.getOfflineQrcode().equals(other.getOfflineQrcode()))
&& (this.getIntegral() == null ? other.getIntegral() == null : this.getIntegral().equals(other.getIntegral()))
&& (this.getWords() == null ? other.getWords() == null : this.getWords().equals(other.getWords()))
&& (this.getSellerComments() == null ? other.getSellerComments() == null : this.getSellerComments().equals(other.getSellerComments()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode());
result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode());
result = prime * result + ((getExpressPrice() == null) ? 0 : getExpressPrice().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
result = prime * result + ((getIsPay() == null) ? 0 : getIsPay().hashCode());
result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode());
result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
result = prime * result + ((getIsSend() == null) ? 0 : getIsSend().hashCode());
result = prime * result + ((getSendTime() == null) ? 0 : getSendTime().hashCode());
result = prime * result + ((getExpress() == null) ? 0 : getExpress().hashCode());
result = prime * result + ((getExpressNo() == null) ? 0 : getExpressNo().hashCode());
result = prime * result + ((getIsConfirm() == null) ? 0 : getIsConfirm().hashCode());
result = prime * result + ((getConfirmTime() == null) ? 0 : getConfirmTime().hashCode());
result = prime * result + ((getIsComment() == null) ? 0 : getIsComment().hashCode());
result = prime * result + ((getApplyDelete() == null) ? 0 : getApplyDelete().hashCode());
result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode());
result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
result = prime * result + ((getIsPrice() == null) ? 0 : getIsPrice().hashCode());
result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode());
result = prime * result + ((getFirstPrice() == null) ? 0 : getFirstPrice().hashCode());
result = prime * result + ((getSecondPrice() == null) ? 0 : getSecondPrice().hashCode());
result = prime * result + ((getThirdPrice() == null) ? 0 : getThirdPrice().hashCode());
result = prime * result + ((getCouponSubPrice() == null) ? 0 : getCouponSubPrice().hashCode());
result = prime * result + ((getIsOffline() == null) ? 0 : getIsOffline().hashCode());
result = prime * result + ((getClerkId() == null) ? 0 : getClerkId().hashCode());
result = prime * result + ((getIsCancel() == null) ? 0 : getIsCancel().hashCode());
result = prime * result + ((getBeforeUpdatePrice() == null) ? 0 : getBeforeUpdatePrice().hashCode());
result = prime * result + ((getShopId() == null) ? 0 : getShopId().hashCode());
result = prime * result + ((getDiscount() == null) ? 0 : getDiscount().hashCode());
result = prime * result + ((getUserCouponId() == null) ? 0 : getUserCouponId().hashCode());
result = prime * result + ((getGiveIntegral() == null) ? 0 : getGiveIntegral().hashCode());
result = prime * result + ((getParentId1() == null) ? 0 : getParentId1().hashCode());
result = prime * result + ((getParentId2() == null) ? 0 : getParentId2().hashCode());
result = prime * result + ((getIsSale() == null) ? 0 : getIsSale().hashCode());
result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
result = prime * result + ((getExpressPrice1() == null) ? 0 : getExpressPrice1().hashCode());
result = prime * result + ((getIsRecycle() == null) ? 0 : getIsRecycle().hashCode());
result = prime * result + ((getRebate() == null) ? 0 : getRebate().hashCode());
result = prime * result + ((getBeforeUpdateExpress() == null) ? 0 : getBeforeUpdateExpress().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getOrderUnionId() == null) ? 0 : getOrderUnionId().hashCode());
result = prime * result + ((getIsTransfer() == null) ? 0 : getIsTransfer().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getSharePrice() == null) ? 0 : getSharePrice().hashCode());
result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode());
result = prime * result + ((getCurrency() == null) ? 0 : getCurrency().hashCode());
result = prime * result + ((getOrderOrigin() == null) ? 0 : getOrderOrigin().hashCode());
result = prime * result + ((getDeliveryId() == null) ? 0 : getDeliveryId().hashCode());
result = prime * result + ((getDeliveryStatus() == null) ? 0 : getDeliveryStatus().hashCode());
result = prime * result + ((getFyStatus() == null) ? 0 : getFyStatus().hashCode());
result = prime * result + ((getFyjine() == null) ? 0 : getFyjine().hashCode());
result = prime * result + ((getFysingle() == null) ? 0 : getFysingle().hashCode());
result = prime * result + ((getMchFyjine() == null) ? 0 : getMchFyjine().hashCode());
result = prime * result + ((getMchFysingle() == null) ? 0 : getMchFysingle().hashCode());
result = prime * result + ((getIsFan() == null) ? 0 : getIsFan().hashCode());
result = prime * result + ((getIsDada() == null) ? 0 : getIsDada().hashCode());
result = prime * result + ((getShopPeisong() == null) ? 0 : getShopPeisong().hashCode());
result = prime * result + ((getIsOpenOffline() == null) ? 0 : getIsOpenOffline().hashCode());
result = prime * result + ((getSupplierId() == null) ? 0 : getSupplierId().hashCode());
result = prime * result + ((getIsSupTransfer() == null) ? 0 : getIsSupTransfer().hashCode());
result = prime * result + ((getDabaoPrice() == null) ? 0 : getDabaoPrice().hashCode());
result = prime * result + ((getSettlementAmount() == null) ? 0 : getSettlementAmount().hashCode());
result = prime * result + ((getIsSettlement() == null) ? 0 : getIsSettlement().hashCode());
result = prime * result + ((getSettlementTime() == null) ? 0 : getSettlementTime().hashCode());
result = prime * result + ((getIsMchShop() == null) ? 0 : getIsMchShop().hashCode());
result = prime * result + ((getIsDivideMoney() == null) ? 0 : getIsDivideMoney().hashCode());
result = prime * result + ((getTransactionId() == null) ? 0 : getTransactionId().hashCode());
result = prime * result + ((getPayUserId() == null) ? 0 : getPayUserId().hashCode());
result = prime * result + ((getPayTypeTrue() == null) ? 0 : getPayTypeTrue().hashCode());
result = prime * result + ((getIsVgoods() == null) ? 0 : getIsVgoods().hashCode());
result = prime * result + ((getReductionPrice() == null) ? 0 : getReductionPrice().hashCode());
result = prime * result + ((getMinusPrice() == null) ? 0 : getMinusPrice().hashCode());
result = prime * result + ((getOrderFrom() == null) ? 0 : getOrderFrom().hashCode());
result = prime * result + ((getDiscountPrice() == null) ? 0 : getDiscountPrice().hashCode());
result = prime * result + ((getDiscountNum() == null) ? 0 : getDiscountNum().hashCode());
result = prime * result + ((getGiveGoodsId() == null) ? 0 : getGiveGoodsId().hashCode());
result = prime * result + ((getCouponRecordId() == null) ? 0 : getCouponRecordId().hashCode());
result = prime * result + ((getIdCardNo() == null) ? 0 : getIdCardNo().hashCode());
result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
result = prime * result + ((getAddressData() == null) ? 0 : getAddressData().hashCode());
result = prime * result + ((getOfflineQrcode() == null) ? 0 : getOfflineQrcode().hashCode());
result = prime * result + ((getIntegral() == null) ? 0 : getIntegral().hashCode());
result = prime * result + ((getWords() == null) ? 0 : getWords().hashCode());
result = prime * result + ((getSellerComments() == null) ? 0 : getSellerComments().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", content=").append(content);
sb.append(", addressData=").append(addressData);
sb.append(", offlineQrcode=").append(offlineQrcode);
sb.append(", integral=").append(integral);
sb.append(", words=").append(words);
sb.append(", sellerComments=").append(sellerComments);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -1,987 +0,0 @@
package com.cg.entity;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* cyymall_user
* @author
*/
/**
*
* 代码由工具生成
*
**/
public class CyymallUser implements Serializable {
private Integer id;
/**
* 用户类型0=管理员1=普通用户
*/
private Short type;
private String username;
private String password;
private String authKey;
private String accessToken;
private Integer addtime;
private Short isDelete;
/**
* 微信openid
*/
private String wechatOpenId;
/**
* 微信用户union id
*/
private String wechatUnionId;
/**
* 昵称
*/
private String nickname;
private String avatarUrl;
/**
* 商城id
*/
private Integer storeId;
/**
* 是否是分销商 0--不是 1-- 2--申请中
*/
private Integer isDistributor;
/**
* 父级ID
*/
private Integer parentId;
/**
* 成为分销商的时间
*/
private Integer time;
/**
* 累计佣金
*/
private BigDecimal totalPrice;
/**
* 可提现佣金
*/
private BigDecimal price;
/**
* 是否是核销员 0--不是 1--
*/
private Integer isClerk;
/**
* 微擎账户id
*/
private Integer we7Uid;
private Integer shopId;
/**
* 会员等级
*/
private Integer level;
/**
* 用户当前积分
*/
private Integer integral;
/**
* 用户总获得积分
*/
private Integer totalIntegral;
/**
* 余额
*/
private BigDecimal money;
/**
* 联系方式
*/
private String contactWay;
/**
* 备注
*/
private String comments;
/**
* 授权手机号
*/
private String binding;
/**
* 微信公众号openid
*/
private String wechatPlatformOpenId;
/**
* 小程序平台 0 => 微信, 1 => 支付宝
*/
private Byte platform;
/**
* 黑名单 0. | 1.
*/
private Boolean blacklist;
/**
* 可能成为上级的ID
*/
private Integer parentUserId;
private String appcid;
private Boolean isAdmin;
private BigDecimal tuanPrice;
/**
* 1是配送员0不是
*/
private Boolean isDelivery;
private Integer mchId;
/**
* 真实姓名
*/
private String realName;
/**
* 身份证号
*/
private String realCode;
/**
* 身份证正面照
*/
private String realJustPic;
/**
* 身份证反面照
*/
private String realBackPic;
/**
* 是否已实名注册 2审核中3审核未通过1审核通过
*/
private Boolean isReal;
/**
* 直播佣金
*/
private BigDecimal livePrice;
/**
* 待返总金额
*/
private String fyjine;
/**
* 已返金额
*/
private String yifan;
/**
* 骑手是否在线0在线1离线
*/
private Boolean deliveryOffice;
/**
* 补贴金额
*/
private BigDecimal subsidyPrice;
private Integer deliveryMchId;
/**
* 核销员入驻商id
*/
private Integer clerkMchId;
/**
* 是否团长身份 0--1--
*/
private Integer isGroupCentre;
/**
* 性别0-未知,1男,2女
*/
private Integer sex;
/**
* 出生日期
*/
private String birthDate;
/**
* 是否允许发布抖品0=1=
*/
private Integer isVgoods;
/**
* 分销商分组id
*/
private Integer shareCatId;
/**
* 用户标签
*/
private Integer userLabel;
/**
* 工会卡号
*/
private String ghCardNo;
/**
* 工会卡消费密码
*/
private Integer ghCardPwd;
private String channelPhone;
private String channelSign;
private String email;
private Integer applyTime;
/**
* 1申请中也就是待处理2已处理其他就是不申请了
*/
private Short applyStatus;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Short getType() {
return type;
}
public void setType(Short type) {
this.type = type;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getAuthKey() {
return authKey;
}
public void setAuthKey(String authKey) {
this.authKey = authKey;
}
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public Integer getAddtime() {
return addtime;
}
public void setAddtime(Integer addtime) {
this.addtime = addtime;
}
public Short getIsDelete() {
return isDelete;
}
public void setIsDelete(Short isDelete) {
this.isDelete = isDelete;
}
public String getWechatOpenId() {
return wechatOpenId;
}
public void setWechatOpenId(String wechatOpenId) {
this.wechatOpenId = wechatOpenId;
}
public String getWechatUnionId() {
return wechatUnionId;
}
public void setWechatUnionId(String wechatUnionId) {
this.wechatUnionId = wechatUnionId;
}
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
public String getAvatarUrl() {
return avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public Integer getStoreId() {
return storeId;
}
public void setStoreId(Integer storeId) {
this.storeId = storeId;
}
public Integer getIsDistributor() {
return isDistributor;
}
public void setIsDistributor(Integer isDistributor) {
this.isDistributor = isDistributor;
}
public Integer getParentId() {
return parentId;
}
public void setParentId(Integer parentId) {
this.parentId = parentId;
}
public Integer getTime() {
return time;
}
public void setTime(Integer time) {
this.time = time;
}
public BigDecimal getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(BigDecimal totalPrice) {
this.totalPrice = totalPrice;
}
public BigDecimal getPrice() {
return price;
}
public void setPrice(BigDecimal price) {
this.price = price;
}
public Integer getIsClerk() {
return isClerk;
}
public void setIsClerk(Integer isClerk) {
this.isClerk = isClerk;
}
public Integer getWe7Uid() {
return we7Uid;
}
public void setWe7Uid(Integer we7Uid) {
this.we7Uid = we7Uid;
}
public Integer getShopId() {
return shopId;
}
public void setShopId(Integer shopId) {
this.shopId = shopId;
}
public Integer getLevel() {
return level;
}
public void setLevel(Integer level) {
this.level = level;
}
public Integer getIntegral() {
return integral;
}
public void setIntegral(Integer integral) {
this.integral = integral;
}
public Integer getTotalIntegral() {
return totalIntegral;
}
public void setTotalIntegral(Integer totalIntegral) {
this.totalIntegral = totalIntegral;
}
public BigDecimal getMoney() {
return money;
}
public void setMoney(BigDecimal money) {
this.money = money;
}
public String getContactWay() {
return contactWay;
}
public void setContactWay(String contactWay) {
this.contactWay = contactWay;
}
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public String getBinding() {
return binding;
}
public void setBinding(String binding) {
this.binding = binding;
}
public String getWechatPlatformOpenId() {
return wechatPlatformOpenId;
}
public void setWechatPlatformOpenId(String wechatPlatformOpenId) {
this.wechatPlatformOpenId = wechatPlatformOpenId;
}
public Byte getPlatform() {
return platform;
}
public void setPlatform(Byte platform) {
this.platform = platform;
}
public Boolean getBlacklist() {
return blacklist;
}
public void setBlacklist(Boolean blacklist) {
this.blacklist = blacklist;
}
public Integer getParentUserId() {
return parentUserId;
}
public void setParentUserId(Integer parentUserId) {
this.parentUserId = parentUserId;
}
public String getAppcid() {
return appcid;
}
public void setAppcid(String appcid) {
this.appcid = appcid;
}
public Boolean getIsAdmin() {
return isAdmin;
}
public void setIsAdmin(Boolean isAdmin) {
this.isAdmin = isAdmin;
}
public BigDecimal getTuanPrice() {
return tuanPrice;
}
public void setTuanPrice(BigDecimal tuanPrice) {
this.tuanPrice = tuanPrice;
}
public Boolean getIsDelivery() {
return isDelivery;
}
public void setIsDelivery(Boolean isDelivery) {
this.isDelivery = isDelivery;
}
public Integer getMchId() {
return mchId;
}
public void setMchId(Integer mchId) {
this.mchId = mchId;
}
public String getRealName() {
return realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
public String getRealCode() {
return realCode;
}
public void setRealCode(String realCode) {
this.realCode = realCode;
}
public String getRealJustPic() {
return realJustPic;
}
public void setRealJustPic(String realJustPic) {
this.realJustPic = realJustPic;
}
public String getRealBackPic() {
return realBackPic;
}
public void setRealBackPic(String realBackPic) {
this.realBackPic = realBackPic;
}
public Boolean getIsReal() {
return isReal;
}
public void setIsReal(Boolean isReal) {
this.isReal = isReal;
}
public BigDecimal getLivePrice() {
return livePrice;
}
public void setLivePrice(BigDecimal livePrice) {
this.livePrice = livePrice;
}
public String getFyjine() {
return fyjine;
}
public void setFyjine(String fyjine) {
this.fyjine = fyjine;
}
public String getYifan() {
return yifan;
}
public void setYifan(String yifan) {
this.yifan = yifan;
}
public Boolean getDeliveryOffice() {
return deliveryOffice;
}
public void setDeliveryOffice(Boolean deliveryOffice) {
this.deliveryOffice = deliveryOffice;
}
public BigDecimal getSubsidyPrice() {
return subsidyPrice;
}
public void setSubsidyPrice(BigDecimal subsidyPrice) {
this.subsidyPrice = subsidyPrice;
}
public Integer getDeliveryMchId() {
return deliveryMchId;
}
public void setDeliveryMchId(Integer deliveryMchId) {
this.deliveryMchId = deliveryMchId;
}
public Integer getClerkMchId() {
return clerkMchId;
}
public void setClerkMchId(Integer clerkMchId) {
this.clerkMchId = clerkMchId;
}
public Integer getIsGroupCentre() {
return isGroupCentre;
}
public void setIsGroupCentre(Integer isGroupCentre) {
this.isGroupCentre = isGroupCentre;
}
public Integer getSex() {
return sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public String getBirthDate() {
return birthDate;
}
public void setBirthDate(String birthDate) {
this.birthDate = birthDate;
}
public Integer getIsVgoods() {
return isVgoods;
}
public void setIsVgoods(Integer isVgoods) {
this.isVgoods = isVgoods;
}
public Integer getShareCatId() {
return shareCatId;
}
public void setShareCatId(Integer shareCatId) {
this.shareCatId = shareCatId;
}
public Integer getUserLabel() {
return userLabel;
}
public void setUserLabel(Integer userLabel) {
this.userLabel = userLabel;
}
public String getGhCardNo() {
return ghCardNo;
}
public void setGhCardNo(String ghCardNo) {
this.ghCardNo = ghCardNo;
}
public Integer getGhCardPwd() {
return ghCardPwd;
}
public void setGhCardPwd(Integer ghCardPwd) {
this.ghCardPwd = ghCardPwd;
}
public String getChannelPhone() {
return channelPhone;
}
public void setChannelPhone(String channelPhone) {
this.channelPhone = channelPhone;
}
public String getChannelSign() {
return channelSign;
}
public void setChannelSign(String channelSign) {
this.channelSign = channelSign;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Integer getApplyTime() {
return applyTime;
}
public void setApplyTime(Integer applyTime) {
this.applyTime = applyTime;
}
public Short getApplyStatus() {
return applyStatus;
}
public void setApplyStatus(Short applyStatus) {
this.applyStatus = applyStatus;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
CyymallUser other = (CyymallUser) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getAuthKey() == null ? other.getAuthKey() == null : this.getAuthKey().equals(other.getAuthKey()))
&& (this.getAccessToken() == null ? other.getAccessToken() == null : this.getAccessToken().equals(other.getAccessToken()))
&& (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime()))
&& (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
&& (this.getWechatOpenId() == null ? other.getWechatOpenId() == null : this.getWechatOpenId().equals(other.getWechatOpenId()))
&& (this.getWechatUnionId() == null ? other.getWechatUnionId() == null : this.getWechatUnionId().equals(other.getWechatUnionId()))
&& (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
&& (this.getAvatarUrl() == null ? other.getAvatarUrl() == null : this.getAvatarUrl().equals(other.getAvatarUrl()))
&& (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
&& (this.getIsDistributor() == null ? other.getIsDistributor() == null : this.getIsDistributor().equals(other.getIsDistributor()))
&& (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId()))
&& (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()))
&& (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice()))
&& (this.getPrice() == null ? other.getPrice() == null : this.getPrice().equals(other.getPrice()))
&& (this.getIsClerk() == null ? other.getIsClerk() == null : this.getIsClerk().equals(other.getIsClerk()))
&& (this.getWe7Uid() == null ? other.getWe7Uid() == null : this.getWe7Uid().equals(other.getWe7Uid()))
&& (this.getShopId() == null ? other.getShopId() == null : this.getShopId().equals(other.getShopId()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getIntegral() == null ? other.getIntegral() == null : this.getIntegral().equals(other.getIntegral()))
&& (this.getTotalIntegral() == null ? other.getTotalIntegral() == null : this.getTotalIntegral().equals(other.getTotalIntegral()))
&& (this.getMoney() == null ? other.getMoney() == null : this.getMoney().equals(other.getMoney()))
&& (this.getContactWay() == null ? other.getContactWay() == null : this.getContactWay().equals(other.getContactWay()))
&& (this.getComments() == null ? other.getComments() == null : this.getComments().equals(other.getComments()))
&& (this.getBinding() == null ? other.getBinding() == null : this.getBinding().equals(other.getBinding()))
&& (this.getWechatPlatformOpenId() == null ? other.getWechatPlatformOpenId() == null : this.getWechatPlatformOpenId().equals(other.getWechatPlatformOpenId()))
&& (this.getPlatform() == null ? other.getPlatform() == null : this.getPlatform().equals(other.getPlatform()))
&& (this.getBlacklist() == null ? other.getBlacklist() == null : this.getBlacklist().equals(other.getBlacklist()))
&& (this.getParentUserId() == null ? other.getParentUserId() == null : this.getParentUserId().equals(other.getParentUserId()))
&& (this.getAppcid() == null ? other.getAppcid() == null : this.getAppcid().equals(other.getAppcid()))
&& (this.getIsAdmin() == null ? other.getIsAdmin() == null : this.getIsAdmin().equals(other.getIsAdmin()))
&& (this.getTuanPrice() == null ? other.getTuanPrice() == null : this.getTuanPrice().equals(other.getTuanPrice()))
&& (this.getIsDelivery() == null ? other.getIsDelivery() == null : this.getIsDelivery().equals(other.getIsDelivery()))
&& (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getRealCode() == null ? other.getRealCode() == null : this.getRealCode().equals(other.getRealCode()))
&& (this.getRealJustPic() == null ? other.getRealJustPic() == null : this.getRealJustPic().equals(other.getRealJustPic()))
&& (this.getRealBackPic() == null ? other.getRealBackPic() == null : this.getRealBackPic().equals(other.getRealBackPic()))
&& (this.getIsReal() == null ? other.getIsReal() == null : this.getIsReal().equals(other.getIsReal()))
&& (this.getLivePrice() == null ? other.getLivePrice() == null : this.getLivePrice().equals(other.getLivePrice()))
&& (this.getFyjine() == null ? other.getFyjine() == null : this.getFyjine().equals(other.getFyjine()))
&& (this.getYifan() == null ? other.getYifan() == null : this.getYifan().equals(other.getYifan()))
&& (this.getDeliveryOffice() == null ? other.getDeliveryOffice() == null : this.getDeliveryOffice().equals(other.getDeliveryOffice()))
&& (this.getSubsidyPrice() == null ? other.getSubsidyPrice() == null : this.getSubsidyPrice().equals(other.getSubsidyPrice()))
&& (this.getDeliveryMchId() == null ? other.getDeliveryMchId() == null : this.getDeliveryMchId().equals(other.getDeliveryMchId()))
&& (this.getClerkMchId() == null ? other.getClerkMchId() == null : this.getClerkMchId().equals(other.getClerkMchId()))
&& (this.getIsGroupCentre() == null ? other.getIsGroupCentre() == null : this.getIsGroupCentre().equals(other.getIsGroupCentre()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getBirthDate() == null ? other.getBirthDate() == null : this.getBirthDate().equals(other.getBirthDate()))
&& (this.getIsVgoods() == null ? other.getIsVgoods() == null : this.getIsVgoods().equals(other.getIsVgoods()))
&& (this.getShareCatId() == null ? other.getShareCatId() == null : this.getShareCatId().equals(other.getShareCatId()))
&& (this.getUserLabel() == null ? other.getUserLabel() == null : this.getUserLabel().equals(other.getUserLabel()))
&& (this.getGhCardNo() == null ? other.getGhCardNo() == null : this.getGhCardNo().equals(other.getGhCardNo()))
&& (this.getGhCardPwd() == null ? other.getGhCardPwd() == null : this.getGhCardPwd().equals(other.getGhCardPwd()))
&& (this.getChannelPhone() == null ? other.getChannelPhone() == null : this.getChannelPhone().equals(other.getChannelPhone()))
&& (this.getChannelSign() == null ? other.getChannelSign() == null : this.getChannelSign().equals(other.getChannelSign()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getApplyTime() == null ? other.getApplyTime() == null : this.getApplyTime().equals(other.getApplyTime()))
&& (this.getApplyStatus() == null ? other.getApplyStatus() == null : this.getApplyStatus().equals(other.getApplyStatus()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getAuthKey() == null) ? 0 : getAuthKey().hashCode());
result = prime * result + ((getAccessToken() == null) ? 0 : getAccessToken().hashCode());
result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode());
result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
result = prime * result + ((getWechatOpenId() == null) ? 0 : getWechatOpenId().hashCode());
result = prime * result + ((getWechatUnionId() == null) ? 0 : getWechatUnionId().hashCode());
result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
result = prime * result + ((getAvatarUrl() == null) ? 0 : getAvatarUrl().hashCode());
result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
result = prime * result + ((getIsDistributor() == null) ? 0 : getIsDistributor().hashCode());
result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode());
result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode());
result = prime * result + ((getPrice() == null) ? 0 : getPrice().hashCode());
result = prime * result + ((getIsClerk() == null) ? 0 : getIsClerk().hashCode());
result = prime * result + ((getWe7Uid() == null) ? 0 : getWe7Uid().hashCode());
result = prime * result + ((getShopId() == null) ? 0 : getShopId().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getIntegral() == null) ? 0 : getIntegral().hashCode());
result = prime * result + ((getTotalIntegral() == null) ? 0 : getTotalIntegral().hashCode());
result = prime * result + ((getMoney() == null) ? 0 : getMoney().hashCode());
result = prime * result + ((getContactWay() == null) ? 0 : getContactWay().hashCode());
result = prime * result + ((getComments() == null) ? 0 : getComments().hashCode());
result = prime * result + ((getBinding() == null) ? 0 : getBinding().hashCode());
result = prime * result + ((getWechatPlatformOpenId() == null) ? 0 : getWechatPlatformOpenId().hashCode());
result = prime * result + ((getPlatform() == null) ? 0 : getPlatform().hashCode());
result = prime * result + ((getBlacklist() == null) ? 0 : getBlacklist().hashCode());
result = prime * result + ((getParentUserId() == null) ? 0 : getParentUserId().hashCode());
result = prime * result + ((getAppcid() == null) ? 0 : getAppcid().hashCode());
result = prime * result + ((getIsAdmin() == null) ? 0 : getIsAdmin().hashCode());
result = prime * result + ((getTuanPrice() == null) ? 0 : getTuanPrice().hashCode());
result = prime * result + ((getIsDelivery() == null) ? 0 : getIsDelivery().hashCode());
result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getRealCode() == null) ? 0 : getRealCode().hashCode());
result = prime * result + ((getRealJustPic() == null) ? 0 : getRealJustPic().hashCode());
result = prime * result + ((getRealBackPic() == null) ? 0 : getRealBackPic().hashCode());
result = prime * result + ((getIsReal() == null) ? 0 : getIsReal().hashCode());
result = prime * result + ((getLivePrice() == null) ? 0 : getLivePrice().hashCode());
result = prime * result + ((getFyjine() == null) ? 0 : getFyjine().hashCode());
result = prime * result + ((getYifan() == null) ? 0 : getYifan().hashCode());
result = prime * result + ((getDeliveryOffice() == null) ? 0 : getDeliveryOffice().hashCode());
result = prime * result + ((getSubsidyPrice() == null) ? 0 : getSubsidyPrice().hashCode());
result = prime * result + ((getDeliveryMchId() == null) ? 0 : getDeliveryMchId().hashCode());
result = prime * result + ((getClerkMchId() == null) ? 0 : getClerkMchId().hashCode());
result = prime * result + ((getIsGroupCentre() == null) ? 0 : getIsGroupCentre().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getBirthDate() == null) ? 0 : getBirthDate().hashCode());
result = prime * result + ((getIsVgoods() == null) ? 0 : getIsVgoods().hashCode());
result = prime * result + ((getShareCatId() == null) ? 0 : getShareCatId().hashCode());
result = prime * result + ((getUserLabel() == null) ? 0 : getUserLabel().hashCode());
result = prime * result + ((getGhCardNo() == null) ? 0 : getGhCardNo().hashCode());
result = prime * result + ((getGhCardPwd() == null) ? 0 : getGhCardPwd().hashCode());
result = prime * result + ((getChannelPhone() == null) ? 0 : getChannelPhone().hashCode());
result = prime * result + ((getChannelSign() == null) ? 0 : getChannelSign().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getApplyTime() == null) ? 0 : getApplyTime().hashCode());
result = prime * result + ((getApplyStatus() == null) ? 0 : getApplyStatus().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", type=").append(type);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
sb.append(", authKey=").append(authKey);
sb.append(", accessToken=").append(accessToken);
sb.append(", addtime=").append(addtime);
sb.append(", isDelete=").append(isDelete);
sb.append(", wechatOpenId=").append(wechatOpenId);
sb.append(", wechatUnionId=").append(wechatUnionId);
sb.append(", nickname=").append(nickname);
sb.append(", avatarUrl=").append(avatarUrl);
sb.append(", storeId=").append(storeId);
sb.append(", isDistributor=").append(isDistributor);
sb.append(", parentId=").append(parentId);
sb.append(", time=").append(time);
sb.append(", totalPrice=").append(totalPrice);
sb.append(", price=").append(price);
sb.append(", isClerk=").append(isClerk);
sb.append(", we7Uid=").append(we7Uid);
sb.append(", shopId=").append(shopId);
sb.append(", level=").append(level);
sb.append(", integral=").append(integral);
sb.append(", totalIntegral=").append(totalIntegral);
sb.append(", money=").append(money);
sb.append(", contactWay=").append(contactWay);
sb.append(", comments=").append(comments);
sb.append(", binding=").append(binding);
sb.append(", wechatPlatformOpenId=").append(wechatPlatformOpenId);
sb.append(", platform=").append(platform);
sb.append(", blacklist=").append(blacklist);
sb.append(", parentUserId=").append(parentUserId);
sb.append(", appcid=").append(appcid);
sb.append(", isAdmin=").append(isAdmin);
sb.append(", tuanPrice=").append(tuanPrice);
sb.append(", isDelivery=").append(isDelivery);
sb.append(", mchId=").append(mchId);
sb.append(", realName=").append(realName);
sb.append(", realCode=").append(realCode);
sb.append(", realJustPic=").append(realJustPic);
sb.append(", realBackPic=").append(realBackPic);
sb.append(", isReal=").append(isReal);
sb.append(", livePrice=").append(livePrice);
sb.append(", fyjine=").append(fyjine);
sb.append(", yifan=").append(yifan);
sb.append(", deliveryOffice=").append(deliveryOffice);
sb.append(", subsidyPrice=").append(subsidyPrice);
sb.append(", deliveryMchId=").append(deliveryMchId);
sb.append(", clerkMchId=").append(clerkMchId);
sb.append(", isGroupCentre=").append(isGroupCentre);
sb.append(", sex=").append(sex);
sb.append(", birthDate=").append(birthDate);
sb.append(", isVgoods=").append(isVgoods);
sb.append(", shareCatId=").append(shareCatId);
sb.append(", userLabel=").append(userLabel);
sb.append(", ghCardNo=").append(ghCardNo);
sb.append(", ghCardPwd=").append(ghCardPwd);
sb.append(", channelPhone=").append(channelPhone);
sb.append(", channelSign=").append(channelSign);
sb.append(", email=").append(email);
sb.append(", applyTime=").append(applyTime);
sb.append(", applyStatus=").append(applyStatus);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,45 @@
package com.cg.service.student;
import com.cg.entity.StudentItem;
public interface StudentItemService {
/**
* @MethodName create
* @Description: 创建
* @param studentItem
* @Author: Sum1Dream
* @Date: 2024/7/4 下午2:30
*/
void create(StudentItem studentItem);
/**
* @MethodName update
* @Description: 更新
* @param studentItem
* @Author: Sum1Dream
* @Date: 2024/7/4 下午2:30
*/
void update(StudentItem studentItem);
/**
* @MethodName delete
* @Description: 删除
* @param id
* @param fullDelete
* @Author: Sum1Dream
* @Date: 2024/7/4 下午2:30
*/
void delete(Long id , Boolean fullDelete);
/**
* @MethodName queryDetail
* @Description:查询详情
* @param id
* @return: com.hfkj.entity.BsOrderCinema
* @Author: Sum1Dream
* @Date: 2024/7/4 下午2:30
*/
StudentItem queryDetail(Long id);
}

@ -0,0 +1,43 @@
package com.cg.service.student.impl;
import com.cg.dao.StudentItemMapper;
import com.cg.entity.StudentItem;
import com.cg.service.student.StudentItemService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
@Service("studentItemService")
public class StudentItemServiceImpl implements StudentItemService {
@Resource
private StudentItemMapper studentItemMapper;
@Override
public void create(StudentItem studentItem) {
studentItemMapper.insert(studentItem);
}
@Override
public void update(StudentItem studentItem) {
studentItemMapper.updateByPrimaryKeySelective(studentItem);
}
@Override
public void delete(Long id, Boolean fullDelete) {
if (fullDelete) {
studentItemMapper.deleteByPrimaryKey(id);
} else {
StudentItem studentItem = queryDetail(id);
studentItem.setStatus(0);
studentItem.setUpdateTime(new Date());
update(studentItem);
}
}
@Override
public StudentItem queryDetail(Long id) {
return studentItemMapper.selectByPrimaryKey(id);
}
}

@ -2,8 +2,6 @@ package com.cg.service.user;
import com.cg.entity.BsUser;
import com.cg.entity.BsUserLoginLog;
import com.cg.sysenum.UserLoginPlatform;
import com.cg.sysenum.UserLoginType;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
@ -22,11 +20,7 @@ public interface BsUserLoginLogService {
*/
void create(BsUserLoginLog userLoginLog);
/**
* 异步创建登录日志
* @param user
*/
void asyncCreateLog(UserLoginPlatform loginPlatform, UserLoginType loginType, BsUser user, HttpServletRequest request);
/**
* 查询日志列表

@ -2,8 +2,6 @@ package com.cg.service.user;
import com.cg.common.security.SessionObject;
import com.cg.entity.BsUser;
import com.cg.sysenum.UserLoginPlatform;
import com.cg.sysenum.UserLoginType;
import java.util.List;
import java.util.Map;
@ -71,26 +69,14 @@ public interface BsUserService {
/**
* 用户登录
* @param platform 客户端
* @param loginType 登录方式
* @param phone 手机号
* @param password 密码可以为 NULL
* @param other 其他参数
* @return
* @throws Exception
*/
SessionObject login(UserLoginPlatform platform, UserLoginType loginType, String phone, String password, Map<String, Object> other) throws Exception;
SessionObject login(String phone, String password, Map<String, Object> other) throws Exception;
/**
* 用户登录
* @param platform 客户端
* @param loginType 登录方式
* @param outsideOpenid 外部openid
* @param other 其他参数
* @return
* @throws Exception
*/
SessionObject login(UserLoginPlatform platform, UserLoginType loginType, String outsideOpenid, Map<String, Object> other) throws Exception;
/**
* 退出登录

@ -7,8 +7,6 @@ import com.cg.dao.BsUserLoginLogMapper;
import com.cg.entity.*;
import com.cg.service.user.BsUserLoginLogService;
import com.cg.sysenum.SecUserLoginLogStatusEnum;
import com.cg.sysenum.UserLoginPlatform;
import com.cg.sysenum.UserLoginType;
import org.apache.commons.collections4.MapUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

@ -12,8 +12,6 @@ import com.cg.entity.BsUserExample;
import com.cg.model.UserSessionObject;
import com.cg.service.user.BsUserLoginLogService;
import com.cg.service.user.BsUserService;
import com.cg.sysenum.UserLoginPlatform;
import com.cg.sysenum.UserLoginType;
import com.cg.sysenum.UserStatusEnum;
import org.apache.commons.collections4.MapUtils;
import org.apache.commons.lang3.StringUtils;
@ -148,7 +146,7 @@ public class BsUserServiceImpl implements BsUserService {
}
@Override
public SessionObject login(UserLoginPlatform platform, UserLoginType loginType, String phone, String password, Map<String, Object> other) throws Exception {
public SessionObject login(String phone, String password, Map<String, Object> other) throws Exception {
// 查询用户
BsUser user = getUser(phone);
if (user == null) {
@ -162,29 +160,9 @@ public class BsUserServiceImpl implements BsUserService {
SessionObject sessionObject = new SessionObject(token(user), session);
userCenter.save(sessionObject);
// 异步记录登录信息
userLoginLogService.asyncCreateLog(platform, loginType, user, (HttpServletRequest) RequestContextHolder.getRequestAttributes().resolveReference(RequestAttributes.REFERENCE_REQUEST));
return sessionObject;
}
@Override
public SessionObject login(UserLoginPlatform platform, UserLoginType loginType, String outsideOpenid, Map<String, Object> other) throws Exception {
BsUser user = getUserByOutsideOpenid(outsideOpenid);
if (user == null ) {
user = register(outsideOpenid, other);
}
// 缓存
UserSessionObject session = new UserSessionObject();
session.setUser(user);
SessionObject sessionObject = new SessionObject(token(user), session);
userCenter.save(sessionObject);
// 异步记录登录信息
userLoginLogService.asyncCreateLog(platform, loginType, user, (HttpServletRequest) RequestContextHolder.getRequestAttributes().resolveReference(RequestAttributes.REFERENCE_REQUEST));
return sessionObject;
}
@Override
public void loginOut(String token) {

@ -1,62 +0,0 @@
package com.cg.sysenum;
/**
* 产品来源
* @className: SecMenuTypeEnum
* @author: HuRui
* @date: 2024/4/10
**/
public enum GoodsVpdSourceEnum {
/**
* 内部虚拟商品
*/
type1(1, "内部虚拟商品"),
/**
* 贵州中石化
*/
type4(4, "贵州中石化"),
/**
* 重庆中石油
*/
type5(5, "重庆中石油"),
/**
* 比邻星停车券
*/
type6(6, "比邻星停车券"),
/**
* 四川中石油
*/
type7(7, "四川中石油"),
/**
* 中油优途中石油
*/
type10(10, "中油优途中石油"),
;
private int code;
private String name;
GoodsVpdSourceEnum(int code, String name) {
this.code = code;
this.name = name;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

@ -1,39 +0,0 @@
package com.cg.sysenum;
import lombok.Getter;
/**
* @className: UserCardTypeEnum
* @author: HuRui
* @date: 2024/5/17
**/
@Getter
public enum UserCardStatusEnum {
/**
* 不可用
*/
status0(0, "不可用"),
/**
* 正常
*/
status1(1, "正常"),
/**
* 冻结
*/
status2(2, "冻结"),
;
private int code;
private String name;
UserCardStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,39 +0,0 @@
package com.cg.sysenum;
import com.cg.sysenum.order.OrderAfterSalesApplyTypeEnum;
import lombok.Getter;
import java.util.Objects;
/**
* @className: UserCardTypeEnum
* @author: HuRui
* @date: 2024/5/17
**/
@Getter
public enum UserCardTypeEnum {
/**
* 贵州汇联通工会卡
*/
type1(1, "贵州汇联通工会卡"),
;
private int code;
private String name;
UserCardTypeEnum(int code, String name) {
this.code = code;
this.name = name;
}
public static UserCardTypeEnum getData(Integer type) {
for (UserCardTypeEnum ele : values()) {
if(Objects.equals(type,ele.getCode())) return ele;
}
return null;
}
}

@ -1,54 +0,0 @@
package com.cg.sysenum;
import java.util.Objects;
/**
* 登录平台
* @className: LoginType
* @author: HuRui
* @date: 2022/10/20
**/
public enum UserLoginPlatform {
H5("H5", "H5客户端"),
WXAPPLETS("WXAPPLETS", "微信小程序"),
VFAMILY("VFAMILY", "V家园"),
GZGOV("GZGOV", "省自机关"),
;
private String code;
private String name;
UserLoginPlatform(String code, String name) {
this.code = code;
this.name = name;
}
/**
* 根据类型查询数据
* @param code
* @return
*/
public static UserLoginPlatform getDataByType(String code) {
for (UserLoginPlatform ele : values()) {
if(Objects.equals(code,ele.getCode())) return ele;
}
return null;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

@ -1,57 +0,0 @@
package com.cg.sysenum;
import java.util.Objects;
/**
* 登录方式
* @className: LoginType
* @author: HuRui
* @date: 2022/10/20
**/
public enum UserLoginType {
PWD("PWD", "密码登录"),
SMS("SMS", "短信登录"),
WECHAT_MA_PHONE("WECHAT_MA_PHONE", "微信小程序手机号"),
WECHAT_MA_OPENID("WECHAT_MA_OPENID", "微信小程序openId"),
WECHAT_MP_OPENID("WECHAT_MP_OPENID", "微信公众号openId"),
V_FAMILY_OPENID("V_FAMILY_OPENID", "V家园openId"),
GZ_GOV_OPENID("GZ_GOV_OPENID", "省自机关openId"),
;
private String code;
private String name;
UserLoginType(String code, String name) {
this.code = code;
this.name = name;
}
/**
* 根据类型查询数据
* @param code
* @return
*/
public static UserLoginType getDataByType(String code) {
for (UserLoginType ele : values()) {
if(Objects.equals(code,ele.getCode())) return ele;
}
return null;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

@ -1,44 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* 售后状态
* @className: OrderAfterSalesApplyStatusEnum
* @author: HuRui
* @date: 2024/4/15
**/
@Getter
public enum OrderAfterSalesApplyStatusEnum {
/**
* 审核中
*/
type1(1, "审核中"),
/**
* 审核驳回
*/
type2(2, "审核驳回"),
/**
* 待邮寄
*/
type3(3, "待邮寄"),
/**
* 邮寄中
*/
type4(4, "邮寄中"),
/**
* 完成
*/
type5(5, "完成"),
;
private int code;
private String name;
OrderAfterSalesApplyStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,42 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
import java.util.Objects;
/**
* 售后类型
* @className: OrderAfterSalesApplyTypeEnum
* @author: HuRui
* @date: 2024/4/15
**/
@Getter
public enum OrderAfterSalesApplyTypeEnum {
/**
* 退款申请
*/
type1(1, "退款申请"),
/**
* 退货申请
*/
type2(2, "退货申请"),
;
private int code;
private String name;
OrderAfterSalesApplyTypeEnum(int code, String name) {
this.code = code;
this.name = name;
}
public static OrderAfterSalesApplyTypeEnum getData(Integer type) {
for (OrderAfterSalesApplyTypeEnum ele : values()) {
if(Objects.equals(type,ele.getCode())) return ele;
}
return null;
}
}

@ -1,52 +0,0 @@
package com.cg.sysenum.order;
import java.util.Objects;
/**
* @className: OrderChildProductType
* @author: HuRui
* @date: 2024/4/30
**/
public enum OrderChildProductTypeEnum {
/**
* 产品
*/
type1(1, "实物产品"),
type2(2, "虚拟产品"),
type3(3, "千猪电影票"),
;
private int code;
private String name;
OrderChildProductTypeEnum(int code, String name) {
this.code = code;
this.name = name;
}
public static OrderChildProductTypeEnum getData(Integer type) {
for (OrderChildProductTypeEnum ele : values()) {
if(Objects.equals(type,ele.getCode())) return ele;
}
return null;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

@ -1,53 +0,0 @@
package com.cg.sysenum.order;
import lombok.Data;
import lombok.Getter;
/**
* @className: OrderChildStatusEnum
* @author: HuRui
* @date: 2024/5/6
**/
@Getter
public enum OrderChildStatusEnum {
/**
* 待支付
*/
status1(1, "待支付"),
/**
* 已支付
*/
status2(2, "已支付"),
/**
* 已完成
*/
status3(3, "已完成"),
/**
* 已退款
*/
status4(4, "已退款"),
/**
* 已取消
*/
status5(5, "已取消"),
/**
* 退款中
*/
status6(6, "退款中"),
;
private final int code;
private final String name;
OrderChildStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,55 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* @ClassName OrderCinemaStatusEnum
* @Author Sum1Dream
* @Description 电影票状态枚举
* @Date 2024/7/4 下午3:32
**/
@Getter
public enum OrderCinemaStatusEnum {
/**
* 未上送
*/
status0(0, "未上送"),
/**
* 待出票
*/
status5(5, "待出票"),
/**
* 已出票
*/
status10(10, "已出票"),
/**
* 已退款
*/
status15(15, "交易成功"),
/**
* 已取消
*/
statusNegative5(-5, "已取消"),
/**
* 代付款
*/
status20(20, "代付款"),
;
private final int code;
private final String name;
OrderCinemaStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,43 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* 卡券编号订单状态
* @className: OrderCouponNoStatusEnum
* @author: HuRui
* @date: 2024/5/11
**/
@Getter
public enum OrderCouponNoStatusEnum {
/**
* 待支付
*/
status1(1, "未派发"),
/**
* 已支付
*/
status2(2, "已派发"),
/**
* 已完成
*/
status3(3, "已使用"),
/**
* 已退款
*/
status4(4, "已过期"),
;
private final int code;
private final String name;
OrderCouponNoStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,60 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* @className: OrderChildStatusEnum
* @author: HuRui
* @date: 2024/5/6
**/
@Getter
public enum OrderGoodsStatusEnum {
/**
* 待发货
*/
status1(1, "待发货"),
/**
* 已发货
*/
status2(2, "已发货"),
/**
* 配送中
*/
status3(3, "配送中"),
/**
* 已送达
*/
status4(4, "已送达"),
/**
* 已取消
*/
status5(5, "已取消"),
/**
* 退货中
*/
status6(6, "退货中"),
/**
* 已退货
*/
status7(7, "已退货"),
/**
* 待支付
*/
status8(8, "待支付"),
;
private final int code;
private final String name;
OrderGoodsStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,39 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* 交易支付渠道
* @className: OrderPayModelEnum
* @author: HuRui
* @date: 2024/5/7
**/
@Getter
public enum OrderPayChannelEnum {
/**
* 惠支付
*/
type1(1, "惠支付"),
/**
* 微信合作商
*/
type2(2, "微信合作商"),
/**
* 贵州银行
*/
type3(3, "贵州银行"),
/**
* 汇联通
*/
type4(4, "汇联通"),
;
private final int code;
private final String name;
OrderPayChannelEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,39 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* 交易支付类型
* @className: OrderPayModelEnum
* @author: HuRui
* @date: 2024/5/7
**/
@Getter
public enum OrderPayTypeEnum {
/**
* 微信
*/
type1(1, "微信"),
/**
* 支付宝
*/
type2(2, "支付宝"),
/**
* 快捷支付
*/
type3(3, "快捷支付"),
/**
* 工会卡
*/
type4(4, "工会卡"),
;
private final int code;
private final String name;
OrderPayTypeEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,34 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* @className: OrderRefundStatusEnum
* @author: HuRui
* @date: 2024/5/14
**/
@Getter
public enum OrderRefundStatusEnum {
/**
* 退款中
*/
status1(1, "退款中"),
/**
* 退款成功
*/
status2(2, "退款成功"),
/**
* 退款失败
*/
status3(3, "退款失败"),
;
private final int code;
private final String name;
OrderRefundStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}

@ -1,48 +0,0 @@
package com.cg.sysenum.order;
import lombok.Getter;
/**
* 交易订单状态
* @className: OrderChildProductType
* @author: HuRui
* @date: 2024/4/30
**/
@Getter
public enum OrderStatusEnum {
/**
* 待支付
*/
status1(1, "待支付"),
/**
* 已支付
*/
status2(2, "已支付"),
/**
* 已完成
*/
status3(3, "已完成"),
/**
* 已退款
*/
status4(4, "已退款"),
/**
* 已取消
*/
status5(5, "已取消"),
;
private final int code;
private final String name;
OrderStatusEnum(int code, String name) {
this.code = code;
this.name = name;
}
}
Loading…
Cancel
Save