|
@@ -48,6 +48,7 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
|
|
|
/**
|
|
|
* 创建微信同城配送门店
|
|
|
+ *
|
|
|
* @param intracityExpressCreateStoreRequest
|
|
|
* @return
|
|
|
* @throws Exception
|
|
@@ -55,13 +56,14 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
@ApiOperation("创建微信同城配送门店")
|
|
|
@PostMapping(value = "createStore")
|
|
|
public R<IntracityExpressCreateStoreResult> createStore(@RequestBody IntracityExpressCreateStoreRequest intracityExpressCreateStoreRequest)
|
|
|
- throws Exception{
|
|
|
+ throws Exception {
|
|
|
return R.ok(sysStoreIntracityExpressService.createStore(intracityExpressCreateStoreRequest));
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 获取微信同城配送门店详情
|
|
|
+ *
|
|
|
* @param intracityExpressStoreInfoRequest
|
|
|
* @return
|
|
|
* @throws Exception
|
|
@@ -69,12 +71,13 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
@ApiOperation("获取微信同城配送门店详情")
|
|
|
@PostMapping(value = "getStoreInfo")
|
|
|
public R<IntracityExpressStoreInfoResult> getStoreInfo(@RequestBody IntracityExpressStoreInfoRequest intracityExpressStoreInfoRequest)
|
|
|
- throws Exception{
|
|
|
+ throws Exception {
|
|
|
return R.ok(sysStoreIntracityExpressService.getStoreInfo(intracityExpressStoreInfoRequest));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 修改微信同城配送门店信息
|
|
|
+ *
|
|
|
* @param intracityExpressStoreUpdateRequest
|
|
|
* @return
|
|
|
* @throws Exception
|
|
@@ -82,18 +85,18 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
@ApiOperation("修改微信同城配送门店信息")
|
|
|
@PostMapping(value = "updateStore")
|
|
|
public R<IntracityExpressBaseResult> updateStore(@RequestBody IntracityExpressStoreUpdateRequest intracityExpressStoreUpdateRequest)
|
|
|
- throws Exception{
|
|
|
+ throws Exception {
|
|
|
return R.ok(sysStoreIntracityExpressService.updateStore(intracityExpressStoreUpdateRequest));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("查询门店余额")
|
|
|
@GetMapping(value = "getStoreBalance")
|
|
|
- public R<IntracityExpressStoreBalanceInfoResult> getStoreBalance() throws Exception{
|
|
|
+ public R<IntracityExpressStoreBalanceInfoResult> getStoreBalance() throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
IntracityExpressStoreBalanceInfoRequest request = new IntracityExpressStoreBalanceInfoRequest();
|
|
@@ -110,81 +113,81 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
@ApiOperation("门店流水查询")
|
|
|
@GetMapping(value = "queryFlow")
|
|
|
public R<IntracityExpressQueryFlowResult> queryFlow(@RequestParam @ApiParam("1:充值流水, 2:消费流水,3:退款流水") Integer flow_type
|
|
|
- , @RequestParam @ApiParam("查询日期") String searchDate) throws Exception{
|
|
|
+ , @RequestParam @ApiParam("查询日期") String searchDate) throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
IntracityExpressQueryFlowRequest request = new IntracityExpressQueryFlowRequest();
|
|
|
request.setWx_store_id(sysStore.getWxStoreId());
|
|
|
request.setFlow_type(flow_type);
|
|
|
- request.setBegin_time((int)(DateUtils.strToDate(searchDate).getTime()/1000));
|
|
|
- request.setEnd_time((int)(DateUtils.strToDate(searchDate).getTime()/1000 + 24*3600));
|
|
|
+ request.setBegin_time((int) (DateUtils.strToDate(searchDate).getTime() / 1000));
|
|
|
+ request.setEnd_time((int) (DateUtils.strToDate(searchDate).getTime() / 1000 + 24 * 3600));
|
|
|
return R.ok(sysStoreIntracityExpressService.queryFlow(request));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("充值余额")
|
|
|
@GetMapping(value = "chargeBalance")
|
|
|
public R<IntracityExpressStoreBalanceChargeResult> chargeBalance(@RequestParam String service_trans_id
|
|
|
- ,@RequestParam Integer amount) throws Exception{
|
|
|
+ , @RequestParam Integer amount) throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
IntracityExpressStoreBalanceChargeRequest request = new IntracityExpressStoreBalanceChargeRequest();
|
|
|
request.setWx_store_id(sysStore.getWxStoreId());
|
|
|
request.setService_trans_id(service_trans_id);
|
|
|
- request.setAmount(amount*100);
|
|
|
+ request.setAmount(amount * 100);
|
|
|
return R.ok(sysStoreIntracityExpressService.storeBalanceCharge(request));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("查询支持同城配送的城市")
|
|
|
@PostMapping(value = "getCity")
|
|
|
- public R<IntracityExpressGetCityResult> getCity(@RequestBody IntracityExpressGetCityRequest request) throws Exception{
|
|
|
+ public R<IntracityExpressGetCityResult> getCity(@RequestBody IntracityExpressGetCityRequest request) throws Exception {
|
|
|
return R.ok(sysStoreIntracityExpressService.getCity(request));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("获取同城配送预估价格")
|
|
|
@GetMapping(value = "getExpressPrice")
|
|
|
- public R getExpressPrice(@RequestParam @ApiParam("订单编号") String orderNo) throws Exception{
|
|
|
+ public R getExpressPrice(@RequestParam @ApiParam("订单编号") String orderNo) throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
OrderCloth orderCloth = orderClothService.getOne(new QueryWrapper<OrderCloth>().lambda()
|
|
|
- .eq(OrderCloth::getOrderNo,orderNo)
|
|
|
- .eq(OrderCloth::getOrgId,SecurityUtils.getLoginUser().getOrgId())
|
|
|
- .eq(OrderCloth::getSourceType,SecurityUtils.getLoginUser().getSourceType()));
|
|
|
- if(orderCloth == null){
|
|
|
+ .eq(OrderCloth::getOrderNo, orderNo)
|
|
|
+ .eq(OrderCloth::getOrgId, SecurityUtils.getLoginUser().getOrgId())
|
|
|
+ .eq(OrderCloth::getSourceType, SecurityUtils.getLoginUser().getSourceType()));
|
|
|
+ if (orderCloth == null) {
|
|
|
throw new ServiceException("未查询到订单");
|
|
|
}
|
|
|
|
|
|
IntracityExpressPreAddOrderRequest request = new IntracityExpressPreAddOrderRequest();
|
|
|
request.setCargo_name("衣物");
|
|
|
request.setCargo(new IntracityExpressPreAddOrderRequest
|
|
|
- .CargoInfo("衣物",orderCloth.getAppointmentCount()/5 + 1
|
|
|
- ,1000,orderCloth.getAppointmentCount()));
|
|
|
- request.setUser_sandbox(SystemEnv.PROD.getCode().equals(SystemEnvConfig.env)?0:1);
|
|
|
+ .CargoInfo("衣物", orderCloth.getAppointmentCount() / 5 + 1
|
|
|
+ , 1000, orderCloth.getAppointmentCount()));
|
|
|
+ request.setUser_sandbox(SystemEnv.PROD.getCode().equals(SystemEnvConfig.env) ? 0 : 1);
|
|
|
|
|
|
- if(orderCloth.getOrderStatus().equals(ClothOrderStatusType.APPOINTMENT.getCode())){
|
|
|
+ if (orderCloth.getOrderStatus().equals(ClothOrderStatusType.APPOINTMENT.getCode())) {
|
|
|
//同城配送订单只能由商家地址发货,所以如果是上门收衣的话,先把门店地址改为客户地址,查询完后再改回来
|
|
|
OrderClothDeliveryAddress orderClothDeliveryAddress
|
|
|
= orderClothDeliveryAddressService.getOne(new QueryWrapper<OrderClothDeliveryAddress>().lambda()
|
|
|
- .eq(OrderClothDeliveryAddress::getOrderNo,orderNo)
|
|
|
+ .eq(OrderClothDeliveryAddress::getOrderNo, orderNo)
|
|
|
.eq(OrderClothDeliveryAddress::getClothOrderType, ClothOrderDeliveryType.collectCloth.getCode()));
|
|
|
- if(orderClothDeliveryAddress == null){
|
|
|
+ if (orderClothDeliveryAddress == null) {
|
|
|
throw new ServiceException("未查询到收衣配送信息");
|
|
|
}
|
|
|
- sysStoreIntracityExpressService.updateStoreInfo(sysStore,orderClothDeliveryAddress);
|
|
|
+ sysStoreIntracityExpressService.updateStoreInfo(sysStore, orderClothDeliveryAddress);
|
|
|
request.setWx_store_id(sysStore.getWxStoreId());
|
|
|
request.setUser_name(sysStore.getContactName());
|
|
|
request.setUser_phone(sysStore.getContactPhone());
|
|
@@ -197,13 +200,13 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
sysStoreIntracityExpressService.updateStoreInfo(sysStore);
|
|
|
return R.ok(result);
|
|
|
|
|
|
- }else if(orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_SEND.getCode())){
|
|
|
+ } else if (orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_SEND.getCode())) {
|
|
|
//同城配送订单只能由商家地址发货,所以如果是上门收衣的话,先把门店地址改为客户地址,查询完后再改回来
|
|
|
OrderClothDeliveryAddress orderClothDeliveryAddress
|
|
|
= orderClothDeliveryAddressService.getOne(new QueryWrapper<OrderClothDeliveryAddress>().lambda()
|
|
|
- .eq(OrderClothDeliveryAddress::getOrderNo,orderNo)
|
|
|
+ .eq(OrderClothDeliveryAddress::getOrderNo, orderNo)
|
|
|
.eq(OrderClothDeliveryAddress::getClothOrderType, ClothOrderDeliveryType.collectCloth.getCode()));
|
|
|
- if(orderClothDeliveryAddress == null){
|
|
|
+ if (orderClothDeliveryAddress == null) {
|
|
|
throw new ServiceException("未查询到收衣配送信息");
|
|
|
}
|
|
|
request.setWx_store_id(sysStore.getWxStoreId());
|
|
@@ -214,19 +217,19 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
request.setUser_lat(orderClothDeliveryAddress.getLatitude().doubleValue());
|
|
|
request.setUser_lng(orderClothDeliveryAddress.getLongitude().doubleValue());
|
|
|
return R.ok(sysStoreIntracityExpressService.preAddOrder(request));
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
throw new ServiceException("订单状态不正确");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@ApiOperation("取消订单")
|
|
|
@GetMapping(value = "cancel")
|
|
|
- public R cancel(@RequestParam String orderNo) throws Exception{
|
|
|
+ public R cancel(@RequestParam String orderNo) throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
IntracityExpressCancelOrderRequest request = new IntracityExpressCancelOrderRequest();
|
|
@@ -238,30 +241,30 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
@ApiOperation("获取配送单明细")
|
|
|
@GetMapping(value = "getOrderInfo")
|
|
|
public R<IntracityExpressOrderInfoResult> getOrderInfo(@RequestParam @ApiParam("订单编号") String orderNo
|
|
|
- ,@RequestParam @ApiParam("0:收衣,1:取衣") String deliveryType) throws Exception{
|
|
|
+ , @RequestParam @ApiParam("0:收衣,1:取衣") String deliveryType) throws Exception {
|
|
|
SysStore sysStore = sysStoreService.getById(SecurityUtils.getLoginUser().getOrgId());
|
|
|
- if(sysStore == null){
|
|
|
+ if (sysStore == null) {
|
|
|
throw new ServiceException("未查询到门店");
|
|
|
}
|
|
|
- if(StringUtils.isEmpty(sysStore.getWxStoreId())){
|
|
|
+ if (StringUtils.isEmpty(sysStore.getWxStoreId())) {
|
|
|
throw new ServiceException("未配置微信门店,请联系管理员进行配置");
|
|
|
}
|
|
|
OrderCloth orderCloth = orderClothService.getOne(new QueryWrapper<OrderCloth>().lambda()
|
|
|
- .eq(OrderCloth::getOrderNo,orderNo)
|
|
|
- .eq(OrderCloth::getOrgId,SecurityUtils.getLoginUser().getOrgId())
|
|
|
- .eq(OrderCloth::getSourceType,SecurityUtils.getLoginUser().getSourceType()));
|
|
|
- if(orderCloth == null){
|
|
|
+ .eq(OrderCloth::getOrderNo, orderNo)
|
|
|
+ .eq(OrderCloth::getOrgId, SecurityUtils.getLoginUser().getOrgId())
|
|
|
+ .eq(OrderCloth::getSourceType, SecurityUtils.getLoginUser().getSourceType()));
|
|
|
+ if (orderCloth == null) {
|
|
|
throw new ServiceException("未查询到订单");
|
|
|
}
|
|
|
|
|
|
OrderClothDeliveryAddress orderClothDeliveryAddress = orderClothDeliveryAddressService.getOne(
|
|
|
new QueryWrapper<OrderClothDeliveryAddress>().lambda()
|
|
|
- .eq(OrderClothDeliveryAddress::getOrderId,orderCloth.getId())
|
|
|
- .eq(OrderClothDeliveryAddress::getClothOrderType,deliveryType));
|
|
|
- if(orderClothDeliveryAddress == null){
|
|
|
+ .eq(OrderClothDeliveryAddress::getOrderId, orderCloth.getId())
|
|
|
+ .eq(OrderClothDeliveryAddress::getClothOrderType, deliveryType));
|
|
|
+ if (orderClothDeliveryAddress == null) {
|
|
|
throw new ServiceException("未查询到配送订单");
|
|
|
}
|
|
|
- if(!orderClothDeliveryAddress.getDeliveryWay().equals(ClothOrderDeliveryWay.intracityExpress.getCode())){
|
|
|
+ if (!orderClothDeliveryAddress.getDeliveryWay().equals(ClothOrderDeliveryWay.intracityExpress.getCode())) {
|
|
|
throw new ServiceException("该配送不是同城配送,无法查询");
|
|
|
}
|
|
|
IntracityExpressOrderInfoRequest request = new IntracityExpressOrderInfoRequest();
|
|
@@ -273,60 +276,60 @@ public class SysStoreIntracityExpressController extends BaseController {
|
|
|
|
|
|
@ApiOperation("模拟订单状态回调")
|
|
|
@PostMapping(value = "mocknotify")
|
|
|
- public R<IntracityExpressBaseResult> mocknotify(IntracityExpressMockNotifyRequest request) throws Exception{
|
|
|
+ public R<IntracityExpressBaseResult> mocknotify(IntracityExpressMockNotifyRequest request) throws Exception {
|
|
|
return R.ok(sysStoreIntracityExpressService.mocknotify(request));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("配送订单状态通知回调")
|
|
|
@PostMapping(value = "statusChange")
|
|
|
public IntracityExpressOrderStatusChangeVO statusChange(
|
|
|
- @RequestBody IntracityExpressOrderStatusChangeDTO intracityExpressOrderStatusChangeDTO) throws Exception{
|
|
|
+ @RequestBody IntracityExpressOrderStatusChangeDTO intracityExpressOrderStatusChangeDTO) throws Exception {
|
|
|
logger.info("api statusChange");
|
|
|
logger.info("params:" + JSON.toJSONString(intracityExpressOrderStatusChangeDTO));
|
|
|
OrderClothDeliveryAddress orderClothDeliveryAddress = orderClothDeliveryAddressService.getOne(
|
|
|
new QueryWrapper<OrderClothDeliveryAddress>().lambda()
|
|
|
- .eq(OrderClothDeliveryAddress::getThirdDeliveryOrderNo,intracityExpressOrderStatusChangeDTO.getStore_order_id()));
|
|
|
- if(orderClothDeliveryAddress == null){
|
|
|
+ .eq(OrderClothDeliveryAddress::getThirdDeliveryOrderNo, intracityExpressOrderStatusChangeDTO.getStore_order_id()));
|
|
|
+ if (orderClothDeliveryAddress == null) {
|
|
|
throw new ServiceException("未查询到配送信息");
|
|
|
}
|
|
|
OrderCloth orderCloth = orderClothService.getOne(
|
|
|
- new QueryWrapper<OrderCloth>().lambda().eq(OrderCloth::getId,orderClothDeliveryAddress.getOrderId()));
|
|
|
- if(orderCloth == null){
|
|
|
+ new QueryWrapper<OrderCloth>().lambda().eq(OrderCloth::getId, orderClothDeliveryAddress.getOrderId()));
|
|
|
+ if (orderCloth == null) {
|
|
|
throw new ServiceException("未查询到洗衣订单");
|
|
|
}
|
|
|
- switch (intracityExpressOrderStatusChangeDTO.getOrder_status()){
|
|
|
+ switch (intracityExpressOrderStatusChangeDTO.getOrder_status()) {
|
|
|
case 60000:
|
|
|
// case 20000:
|
|
|
case 20001://配送方取消订单
|
|
|
{
|
|
|
- if(orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_DOOR.getCode())
|
|
|
- || orderCloth.getOrderStatus().equals(ClothOrderStatusType.HAS_TO_DOOR.getCode())){
|
|
|
+ if (orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_DOOR.getCode())
|
|
|
+ || orderCloth.getOrderStatus().equals(ClothOrderStatusType.HAS_TO_DOOR.getCode())) {
|
|
|
orderClothService.update(new UpdateWrapper<OrderCloth>().lambda()
|
|
|
- .set(OrderCloth::getOrderStatus,ClothOrderStatusType.APPOINTMENT.getCode())
|
|
|
- .eq(OrderCloth::getId,orderCloth.getId()));
|
|
|
+ .set(OrderCloth::getOrderStatus, ClothOrderStatusType.APPOINTMENT.getCode())
|
|
|
+ .eq(OrderCloth::getId, orderCloth.getId()));
|
|
|
}
|
|
|
- if(orderCloth.getOrderStatus().equals(ClothOrderStatusType.SENDING.getCode())){
|
|
|
+ if (orderCloth.getOrderStatus().equals(ClothOrderStatusType.SENDING.getCode())) {
|
|
|
orderClothService.update(new UpdateWrapper<OrderCloth>().lambda()
|
|
|
- .set(OrderCloth::getOrderStatus,ClothOrderStatusType.WAITING_TO_SEND.getCode())
|
|
|
- .eq(OrderCloth::getId,orderCloth.getId()));
|
|
|
+ .set(OrderCloth::getOrderStatus, ClothOrderStatusType.WAITING_TO_SEND.getCode())
|
|
|
+ .eq(OrderCloth::getId, orderCloth.getId()));
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
case 70000://配送完成
|
|
|
{
|
|
|
- if(orderClothDeliveryAddress.getClothOrderType().equals(ClothOrderDeliveryType.collectCloth.getCode())
|
|
|
+ if (orderClothDeliveryAddress.getClothOrderType().equals(ClothOrderDeliveryType.collectCloth.getCode())
|
|
|
&& (orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_DOOR.getCode())
|
|
|
- || orderCloth.getOrderStatus().equals(ClothOrderStatusType.HAS_TO_DOOR.getCode()))){
|
|
|
+ || orderCloth.getOrderStatus().equals(ClothOrderStatusType.HAS_TO_DOOR.getCode()))) {
|
|
|
orderClothService.update(new UpdateWrapper<OrderCloth>().lambda()
|
|
|
- .set(OrderCloth::getOrderStatus,ClothOrderStatusType.HAS_TAKING.getCode())
|
|
|
- .eq(OrderCloth::getId,orderCloth.getId()));
|
|
|
+ .set(OrderCloth::getOrderStatus, ClothOrderStatusType.HAS_TAKING.getCode())
|
|
|
+ .eq(OrderCloth::getId, orderCloth.getId()));
|
|
|
}
|
|
|
- if(orderClothDeliveryAddress.getClothOrderType().equals(ClothOrderDeliveryType.takeCloth.getCode())
|
|
|
+ if (orderClothDeliveryAddress.getClothOrderType().equals(ClothOrderDeliveryType.takeCloth.getCode())
|
|
|
&& (orderCloth.getOrderStatus().equals(ClothOrderStatusType.WAITING_TO_SEND.getCode())
|
|
|
- || orderCloth.getOrderStatus().equals(ClothOrderStatusType.SENDING.getCode()))){
|
|
|
+ || orderCloth.getOrderStatus().equals(ClothOrderStatusType.SENDING.getCode()))) {
|
|
|
orderClothService.update(new UpdateWrapper<OrderCloth>().lambda()
|
|
|
- .set(OrderCloth::getOrderStatus,ClothOrderStatusType.FINISH.getCode())
|
|
|
- .eq(OrderCloth::getId,orderCloth.getId()));
|
|
|
+ .set(OrderCloth::getOrderStatus, ClothOrderStatusType.FINISH.getCode())
|
|
|
+ .eq(OrderCloth::getId, orderCloth.getId()));
|
|
|
}
|
|
|
break;
|
|
|
}
|