|
@@ -7,6 +7,7 @@ import com.gree.mall.manager.bean.ExcelData;
|
|
|
import com.gree.mall.manager.bean.admin.AdminUserCom;
|
|
|
import com.gree.mall.manager.bean.admin.AdminWebsitNewBean;
|
|
|
import com.gree.mall.manager.bean.admin.AdminWebsitTree;
|
|
|
+import com.gree.mall.manager.enums.ExamineStatusEnum;
|
|
|
import com.gree.mall.manager.enums.admin.AdminWebsitTypeEnum;
|
|
|
import com.gree.mall.manager.enums.material.WebsitGoodsTypeEnum;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
@@ -60,6 +61,8 @@ public class AdminWebsitLogic {
|
|
|
LbsAmapLogic lbsAmapLogic;
|
|
|
@Resource
|
|
|
AdminCompanyWechatPayConfigService adminCompanyWechatPayConfigService;
|
|
|
+ @Resource
|
|
|
+ WebsitUserService websitUserService;
|
|
|
// @Autowired
|
|
|
// EnterpriseWechatWorkerLogic enterpriseWechatWorkerLogic;
|
|
|
|
|
@@ -357,6 +360,12 @@ public class AdminWebsitLogic {
|
|
|
.eq(Storage::getCompanyWechatId, adminWebsit.getCompanyWechatId())
|
|
|
.in(Storage::getWebsitId, materialWebsitList)
|
|
|
.remove();
|
|
|
+
|
|
|
+ websitUserService.lambdaUpdate()
|
|
|
+ .set(WebsitUser::getExamineStatus, ExamineStatusEnum.FAIL.getKey())
|
|
|
+ .set(WebsitUser::getExamineRemark, "网点已删除")
|
|
|
+ .in(WebsitUser::getWebsitId, materialWebsitList)
|
|
|
+ .update();
|
|
|
}
|
|
|
|
|
|
adminDeptWebsitService.lambdaUpdate().eq(AdminDeptWebsit::getWebsitId, websitId).remove();
|