Commit 6f2f4782 by huangZW

111

parent 2e1f6cab
...@@ -38,6 +38,9 @@ import com.gic.haoban.manage.service.dao.mapper.TabHaobanAuditMapper; ...@@ -38,6 +38,9 @@ import com.gic.haoban.manage.service.dao.mapper.TabHaobanAuditMapper;
import com.gic.haoban.manage.service.entity.TabHaobanAudit; import com.gic.haoban.manage.service.entity.TabHaobanAudit;
import com.gic.haoban.manage.service.entity.TabHaobanDepartment; import com.gic.haoban.manage.service.entity.TabHaobanDepartment;
import com.gic.haoban.manage.service.entity.TabHaobanStaff; import com.gic.haoban.manage.service.entity.TabHaobanStaff;
import com.gic.haoban.message.api.dto.MessageDTO;
import com.gic.wechat.api.dto.qywx.QywxXcxSendMessageDTO;
import com.gic.wechat.api.service.qywx.QywxSuiteApiService;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
/** /**
...@@ -55,6 +58,8 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -55,6 +58,8 @@ public class AuditApiServiceImpl implements AuditApiService{
private StaffMapper staffMapper; private StaffMapper staffMapper;
@Autowired @Autowired
private StoreService storeService; private StoreService storeService;
@Autowired
private QywxSuiteApiService qywxSuiteApiService;
@Override @Override
public Page<AuditDTO> page(Integer auditType, String search,String wxEnterpriseId, public Page<AuditDTO> page(Integer auditType, String search,String wxEnterpriseId,
...@@ -112,6 +117,8 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -112,6 +117,8 @@ public class AuditApiServiceImpl implements AuditApiService{
String newValue = tab.getNewValue(); String newValue = tab.getNewValue();
String changeField = tab.getChangeField(); String changeField = tab.getChangeField();
this.editStoreInfo(storeId, changeField, oldValue, newValue); this.editStoreInfo(storeId, changeField, oldValue, newValue);
// QywxXcxSendMessageDTO messageDTO = new QywxXcxSendMessageDTO();
// qywxSuiteApiService.sendMessage("ww9ede832a84b7ae5f","ww2c34dc56739bb105", messageDTO);
} }
@Override @Override
public void refuse(String auditId, String auditReason,String auditName) { public void refuse(String auditId, String auditReason,String auditName) {
......
...@@ -164,6 +164,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -164,6 +164,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
log.info("会员门店不存在"); log.info("会员门店不存在");
continue; continue;
} }
log.info("memberStoreIdList===============>{}",JSONObject.toJSONString(memberStoreIdList));
log.info("storeIds===============>{}",JSONObject.toJSONString(storeIds));
//取交集 //取交集
memberStoreIdList.retainAll(storeIds); memberStoreIdList.retainAll(storeIds);
if(CollectionUtil.isEmpty(memberStoreIdList)){ if(CollectionUtil.isEmpty(memberStoreIdList)){
......
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