|
@@ -155,6 +155,7 @@ public class StoreStaffAuditAsyncService {
|
|
|
String reason = failureReasons.isEmpty() ? "审核未通过" : String.join("; ", failureReasons);
|
|
String reason = failureReasons.isEmpty() ? "审核未通过" : String.join("; ", failureReasons);
|
|
|
// String reason = "审核未通过";
|
|
// String reason = "审核未通过";
|
|
|
updateWrapper.set(StoreStaffConfig::getStatus, "2")
|
|
updateWrapper.set(StoreStaffConfig::getStatus, "2")
|
|
|
|
|
+ .set(StoreStaffConfig::getOnlineStatus, 2)
|
|
|
.set(StoreStaffConfig::getAuditTime, new Date())
|
|
.set(StoreStaffConfig::getAuditTime, new Date())
|
|
|
.set(StoreStaffConfig::getRejectionReason, reason);
|
|
.set(StoreStaffConfig::getRejectionReason, reason);
|
|
|
storeStaffConfigMapper.update(null, updateWrapper);
|
|
storeStaffConfigMapper.update(null, updateWrapper);
|
|
@@ -169,6 +170,7 @@ public class StoreStaffAuditAsyncService {
|
|
|
StoreStaffConfig auditUpdate = new StoreStaffConfig();
|
|
StoreStaffConfig auditUpdate = new StoreStaffConfig();
|
|
|
auditUpdate.setId(staffId);
|
|
auditUpdate.setId(staffId);
|
|
|
auditUpdate.setStatus("2");
|
|
auditUpdate.setStatus("2");
|
|
|
|
|
+ auditUpdate.setOnlineStatus(2);
|
|
|
auditUpdate.setAuditTime(new Date());
|
|
auditUpdate.setAuditTime(new Date());
|
|
|
auditUpdate.setRejectionReason("审核系统异常,请稍后重试");
|
|
auditUpdate.setRejectionReason("审核系统异常,请稍后重试");
|
|
|
storeStaffConfigMapper.updateById(auditUpdate);
|
|
storeStaffConfigMapper.updateById(auditUpdate);
|