Commit 93ca7a71 by guojuxing

调整可用状态逻辑

parent edfcc3f1
......@@ -100,7 +100,7 @@ public class AuditorApiServiceImpl implements AuditorApiService {
}
boolean isUse = StringUtils.isNotBlank(auditorDTO.getOpenid()) || auditorDTO.getUserId() != null;
auditorDTO.setIsUse(isUse ? 0 : 1);
auditorDTO.setIsUse(isUse ? 1 : 0);
if (StringUtils.isNotBlank(auditorDTO.getOpenid())) {
boolean repeat = this.auditorService.validOpenidIsRepeat(auditorDTO.getEnterpriseId(), auditorDTO.getOpenid(), auditorDTO.getAuditorId());
......
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