‘linchangsheng’ hai 10 meses
pai
achega
0ccb59ce42

+ 3 - 0
mall-server-api/src/main/java/com/gree/mall/manager/bean/listvo/order/PunishOrderVO.java

@@ -48,6 +48,9 @@ public class PunishOrderVO {
     private String orderBaseId;
     @ApiModelProperty("处罚工单类型")
     private String orderSmallTypeText;
+    @ApiModelProperty("处罚网点编号")
+    private String websitId;
+
     @ApiModelProperty("处罚网点名称")
     private String websitName;
     @ZfireField(tbName = "b")

+ 4 - 0
mall-server-api/src/main/java/com/gree/mall/manager/bean/listvo/workorder/OrderBase2VO.java

@@ -63,6 +63,10 @@ public class OrderBase2VO {
 //    private String companyWechatName;
 
     @ZfireField(sortNum = 13)
+    @ApiModelProperty(value = "网点编号")
+    private String websitId;
+
+    @ZfireField(sortNum = 13)
     @ApiModelProperty(value = "网点名称")
     private String websitName;
 

+ 4 - 0
mall-server-api/src/main/java/com/gree/mall/manager/bean/listvo/workorder/OrderBaseAppraiseVO.java

@@ -16,6 +16,10 @@ public class OrderBaseAppraiseVO {
 //    @ZfireField(sortNum = 2)
 //    @ApiModelProperty(value = "所属商户")
 //    private String companyWechatName;
+
+    @ZfireField(sortNum = 3)
+    @ApiModelProperty(value = "网点编号")
+    private String websitId;
     @ZfireField(sortNum = 3)
     @ApiModelProperty(value = "网点名称")
     private String websitName;

+ 5 - 0
mall-server-api/src/main/java/com/gree/mall/manager/bean/listvo/workorder/OrderBaseVO.java

@@ -23,6 +23,11 @@ public class OrderBaseVO     {
 //    @ZfireField(sortNum = 2)
 //    @ApiModelProperty(value = "所属商户")
 //    private String companyWechatName;
+
+
+    @ZfireField(sortNum = 3)
+    @ApiModelProperty(value = "网点编号")
+    private String websitId;
     @ZfireField(sortNum = 3)
     @ApiModelProperty(value = "网点名称")
     private String websitName;

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/bean/policy/PolicyVo.java

@@ -38,7 +38,7 @@ public class PolicyVo   {
     @ApiModelProperty(value = "结束日期")
     private Date endTime;
 
-    @ApiModelProperty(value = "是否允许购买 YES 是 NO否")
+    @ApiModelProperty(value = "是否允许购买")
     private IsYesNoEnum isBuy;
 
     @ApiModelProperty(value = "创建时间")

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/bean/workorder/ExamineProjectVO.java

@@ -25,7 +25,7 @@ public class ExamineProjectVO {
 //    @ApiModelProperty(value = "商户名称")
 //    private String companyWechatName;
 
-    @ZfireField(hide = true)
+
     @ApiModelProperty(value = "网点编号")
     private String websitId;
 

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/bean/workorder/SettleOrderVO.java

@@ -30,7 +30,7 @@ public class SettleOrderVO {
 //    @ApiModelProperty(value = "商户名称")
 //    private String companyWechatName;
 
-    @ZfireField(hide = true)
+
     @ApiModelProperty(value = "网点编号")
     private String websitId;
 

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/bean/workorder/SettlePoolVO.java

@@ -25,7 +25,7 @@ public class SettlePoolVO {
 //    @ApiModelProperty(value = "商户名称")
 //    private String companyWechatName;
 
-    @ZfireField(hide = true)
+ 
     @ApiModelProperty(value = "网点编号")
     private String websitId;
 

+ 3 - 1
mall-server-api/src/main/java/com/gree/mall/manager/controller/admin/AdminWebsitController.java

@@ -45,6 +45,8 @@ public class AdminWebsitController {
     public ResponseHelper<List<AdminWebsit>> list(
             @ApiParam(value = "A=平台 B=商户网点 C=普通网点") @RequestParam(required = false) String type,
             @RequestParam(required = false) Boolean isAll,
+            @RequestParam(required = false) String websitId,
+            @RequestParam(required = false) String websitName,
             @RequestParam(required = false) Boolean status,
             @RequestParam(required = false) Boolean isIncre,
             @RequestParam(required = false) String streetCode,
@@ -55,7 +57,7 @@ public class AdminWebsitController {
             @RequestParam(required = false) Boolean queryPartsWebsit,
             @RequestParam(required = false) Integer level
     ) {
-        List<AdminWebsit> list = adminWebsitLogic.list(type, isAll, isIncre, status, streetCode, channelId, categoryId, orderSmallId, orderSourceId, queryPartsWebsit, level);
+        List<AdminWebsit> list = adminWebsitLogic.list(websitId,websitName,type, isAll, isIncre, status, streetCode, channelId, categoryId, orderSmallId, orderSourceId, queryPartsWebsit, level);
         return ResponseHelper.success(list);
     }
 

+ 5 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminWebsitLogic.java

@@ -131,7 +131,7 @@ public class AdminWebsitLogic {
         return parentList;
     }
 
-    public List<AdminWebsit> list(String type, Boolean isAll, Boolean isIncre, Boolean status, String streetCode, String channelId, String categoryId,
+    public List<AdminWebsit> list(String websitId,String websitName,String type, Boolean isAll, Boolean isIncre, Boolean status, String streetCode, String channelId, String categoryId,
                                   String orderSmallId, String orderSourceId, Boolean queryPartsWebsit, Integer level) {
         AdminUserCom adminUser = commonLogic.getAdminUser();
 
@@ -145,6 +145,8 @@ public class AdminWebsitLogic {
                     .eq(!StringUtil.isEmpty(categoryId), WebsitDispatch::getCategoryId, categoryId)
                     .eq(!StringUtil.isEmpty(orderSmallId), WebsitDispatch::getOrderSmallId, orderSmallId)
                     .eq(!StringUtil.isEmpty(orderSourceId), WebsitDispatch::getOrderSource, orderSourceId)
+                    .eq(!StringUtil.isEmpty(websitId), WebsitDispatch::getWebsitId, websitId)
+                    .eq(!StringUtil.isEmpty(websitName), WebsitDispatch::getWebsitName, websitName)
                     .list().stream().map(WebsitDispatch::getWebsitId).collect(Collectors.toList());
         }
 
@@ -155,6 +157,8 @@ public class AdminWebsitLogic {
                 .in(StringUtils.isNotBlank(streetCode) && !CollectionUtils.isEmpty(websitIds), AdminWebsit::getWebsitId, websitIds)
                 .eq(isIncre != null, AdminWebsit::getIsIncre, isIncre)
                 .eq(status != null, AdminWebsit::getStatus, status)
+                .eq(!StringUtil.isEmpty(websitId), AdminWebsit::getWebsitId, websitId)
+                .eq(!StringUtil.isEmpty(websitName), AdminWebsit::getName, websitName)
                 .in(CollectionUtils.isNotEmpty(adminUser.getAdminWebsitIds()) && (isAll == null || !isAll), AdminWebsit::getWebsitId, adminUser.getAdminWebsitIds())
                 .in(CollectionUtils.isNotEmpty(adminUser.getCompanyWechatIds()), AdminWebsit::getCompanyWechatId, adminUser.getCompanyWechatIds())
                 .and(Objects.nonNull(queryPartsWebsit) && queryPartsWebsit, v -> v.isNotNull(AdminWebsit::getPartsWebsitId)

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/AgreementLogic.java

@@ -140,7 +140,7 @@ public class AgreementLogic {
 
         for (MailboxReceive mailboxReceive : mailbox.getMailboxReceives()) {
 
-            mailboxReceive.setMailboxId("id");
+            mailboxReceive.setMailboxId("1");
         }
 
         mailboxReceiveService.saveBatch(mailbox.getMailboxReceives());

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/WorkerManagerLogic.java

@@ -140,7 +140,7 @@ public class WorkerManagerLogic {
 
         WorkerManagerDetail workerManagerDetail = BeanUtil.toBean(websitUser, WorkerManagerDetail.class);
 
-        workerManagerDetail.setUser(userService.getById(workerManagerDetail.getUser()));
+        workerManagerDetail.setUser(userService.getById(workerManagerDetail.getUserId()));
 
         List<WorkerImg> list = workerImgService.lambdaQuery().eq(WorkerImg::getWorkerId, websitUser.getUserId()).list();