Commit 06d394e9 authored by tianbo's avatar tianbo

fix(amos-boot-module-jg): 修复企业状态更新逻辑

- 将 TzBaseEnterpriseInfo 的状态从 "1" 修改为 "0"
parent 674eb84e
......@@ -227,7 +227,7 @@ public class SafetyProblemTracingGenServiceImpl{
if (!ValidationUtil.isEmpty(problemUnitCreditCode)) {
tzBaseEnterpriseInfoMapper.update(new TzBaseEnterpriseInfo(),
new LambdaUpdateWrapper<TzBaseEnterpriseInfo>()
.set(TzBaseEnterpriseInfo::getStatus, "1")
.set(TzBaseEnterpriseInfo::getStatus, "0") // 0正常
.in(TzBaseEnterpriseInfo::getUseCode, problemUnitCreditCode));
}
}
......
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