Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
Conflicts:
gc-shop/src/main/java/com/xzx/gc/shop/dto/XcxGoodsListDto.java
| | |
| | | * 是否集物员 1-是 2-否 |
| | | */ |
| | | private String isJhy; |
| | | public static final String IS_JHY_Y = "1"; |
| | | public static final String IS_JHY_N = "2"; |
| | | |
| | | /** |
| | | * 审核状态 1-待审核 2-审核通过 3-审核拒绝 |
| | | */ |
| | | private Integer status; |
| | | public static final Integer CHECK_WAIT = 1; |
| | | public static final Integer CHECK_PASS = 2; |
| | | public static final Integer CHECK_REFUSE = 3; |
| | | } |
| | |
| | | @ApiModelProperty(hidden = true) |
| | | private String userId; |
| | | |
| | | @ApiModelProperty(value = "排序 1-综合 2-销量 3-价格") |
| | | private int sort = 1; |
| | | |
| | | } |
| | |
| | | </if> |
| | | </where> |
| | | group by a.id |
| | | <if test="record.sort == 1"> |
| | | order by a.id desc |
| | | </if> |
| | | <if test="record.sort == 2"> |
| | | order by quantity desc |
| | | </if> |
| | | <if test="record.sort == 3"> |
| | | order by a.present_price desc |
| | | </if> |
| | | </select> |
| | | |
| | | <resultMap id="goodsDetailsMap" type="com.xzx.gc.shop.vo.XcxGoodsDetailVo"> |
| | |
| | | JhyInfo jhyInfo = new JhyInfo(); |
| | | BeanUtil.copyProperties(applyDto, jhyInfo); |
| | | jhyInfo.setCreatedTime(new Date()); |
| | | jhyInfo.setIsJhy(JhyInfo.IS_JHY_N); |
| | | jhyInfo.setCardPos(applyDto.getCardPos()); |
| | | jhyInfo.setStatus(JhyInfo.CHECK_WAIT); |
| | | jhyInfoMapper.insert(jhyInfo); |
| | | } |
| | | |