Commit d8980053 authored by 韩桐桐's avatar 韩桐桐

bug:安装告知打印汇总表空指针保存处理

parent 6700b9df
......@@ -2585,7 +2585,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
*/
private boolean checkEquStatusInUse(String record) {
IdxBizJgUseInfo useInfo = idxBizJgUseInfoService.lambdaQuery().eq(IdxBizJgUseInfo::getRecord, record).one();
if (ValidationUtil.isEmpty(useInfo.getEquState())) {
if (!Objects.isNull(useInfo) && ValidationUtil.isEmpty(useInfo.getEquState())) {
return true;
}
return EquimentEnum.ZAIYONG.getCode().toString().equals(useInfo.getEquState());
......
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