Commit 9cc2a867 by 徐高华

导购配置

parent 143b2c29
......@@ -129,7 +129,6 @@ public class ApplicationController extends WebBaseController {
closeList = applicationApiService.listByApplications(applicationIds);
}
List<ApplicationVO> allList = new ArrayList<>();
list.forEach(item->{
ApplicationVO vo = EntityUtil.changeEntity(ApplicationVO.class, item) ;
......@@ -157,16 +156,16 @@ public class ApplicationController extends WebBaseController {
WebLoginDTO login = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = login.getWxEnterpriseId();
String enterpriseId = login.getEnterpriseId();
log.info("dataJson={}",dataJson);
if(StringUtils.isBlank(dataJson)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
JSONArray jsonArr = JSONArray.parseArray(dataJson) ;
if(jsonArr.size()<=0) {
return resultResponse(HaoBanErrCode.ERR_2);
log.info("dataJson={},{}",dataJson,JSON.toJSONString(clerkEditInfo));
if(StringUtils.isNotBlank(dataJson)) {
JSONArray jsonArr = JSONArray.parseArray(dataJson) ;
if(jsonArr.size()<=0) {
return resultResponse(HaoBanErrCode.ERR_2);
}
this.applicationSettingApiService.saveSetting(wxEnterpriseId,jsonArr);
}else {
this.wxEnterpriseRelatedApiService.saveClerkEditFlag(wxEnterpriseId, enterpriseId, ClerkEditInfoVO.getValue(clerkEditInfo));
}
this.wxEnterpriseRelatedApiService.saveClerkEditFlag(wxEnterpriseId, enterpriseId, ClerkEditInfoVO.getValue(clerkEditInfo));
applicationSettingApiService.saveSetting(wxEnterpriseId,jsonArr);
return resultResponse(HaoBanErrCode.ERR_1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment