Commit 3da1fe64 by 墨竹

feat:返回数据修改

parent 9c52a1cb
......@@ -152,17 +152,18 @@ public class AuditApiServiceImpl implements AuditApiService {
insertBatchLog(batchId, AuditRsultType.fail.getCode(), tab);
}
staffDepartmentRelatedApiService.sendBindAuditMessage(auditId, obj.getStaffId(), clerkId, tab.getAuditReason(), true);
return "该成员在该门店下已经绑定过一个导购了";
return reason;
}
if (clerkDTO == null) {
tab.setAuditStatus(5);
tab.setAuditReason("gic已删除该导购");
String reason = "gic已删除该导购";
tab.setAuditReason(reason);
auditMapper.updateByPrimaryKeySelective(tab);
if (StringUtils.isNotBlank(batchId)) {
insertBatchLog(batchId, AuditRsultType.fail.getCode(), tab);
}
staffDepartmentRelatedApiService.sendBindAuditMessage(auditId, obj.getStaffId(), clerkId, tab.getAuditReason(), true);
return "gic已删除该导购";
return reason;
} else {
if (staffClerkRelation == null) {
staffClerkRelation = new StaffClerkRelationDTO();
......
......@@ -182,7 +182,6 @@ public class StaffDepartmentRelatedApiServiceImpl implements StaffDepartmentRela
//导购绑定,,审核记录,,消息发送
@Override
public void sendStaffBind(String staffId, String clerkCode, String storeId, int auditStatus, String auditReason) {
//TODO huang 发送申请人,我的记录页
StaffDTO staffDTO = staffApiService.selectById(staffId);
if (staffDTO == null) {
logger.info("staff不存在,发送消息失败{}", staffId);
......
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