fix: 去æå已经取消的订单隐藏微信号功能
This commit is contained in:
@@ -37,6 +37,7 @@ import com.starry.admin.utils.SmsUtils;
|
||||
import com.starry.common.redis.RedisCache;
|
||||
import com.starry.common.result.R;
|
||||
import com.starry.common.utils.ConvertUtil;
|
||||
import com.starry.common.utils.StringUtils;
|
||||
import com.starry.common.utils.VerificationCodeUtils;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@@ -442,9 +443,15 @@ public class WxClerkController {
|
||||
@ClerkUserLogin
|
||||
@GetMapping("/order/queryById")
|
||||
public R queryById(@RequestParam("id") String id) {
|
||||
PlayClerkOrderDetailsReturnVo orderInfo = playOrderInfoService
|
||||
PlayClerkOrderDetailsReturnVo vo = playOrderInfoService
|
||||
.clerkSelectOrderDetails(ThreadLocalRequestDetail.getClerkUserInfo().getId(), id);
|
||||
return R.ok(orderInfo);
|
||||
if (StringUtils.isNotEmpty(vo.getAcceptBy()) && !vo.getAcceptBy().equals(ThreadLocalRequestDetail.getClerkUserInfo().getId())) {
|
||||
vo.setWeiChatCode("");
|
||||
}
|
||||
if(vo.getOrderStatus().equals("4")){
|
||||
vo.setWeiChatCode("");
|
||||
}
|
||||
return R.ok(vo);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -114,6 +114,8 @@ public class PlayClerkOrderDetailsReturnVo {
|
||||
*/
|
||||
private BigDecimal estimatedRevenue;
|
||||
|
||||
private String acceptBy;
|
||||
|
||||
/**
|
||||
* 优惠金额
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user