Commit 64f2f018 authored by xinglei's avatar xinglei

*)修改判断写反问题

parent 36ede852
......@@ -1642,7 +1642,7 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
InputCheckDto inputCheckDto = getInputCheckDto(checkId, itemId, routePointItemId);
InputItem inputItem = getInputItem(itemId);
String photoUrls = getPhotoUrls(inputCheckDto);
if (check.getPlanId() > 0) {
checkType = LatentDangerTypeEnum.计划检查.getCode();
} else if (CheckModeEnum.WEB_OUT.getCode().equals(check.getCheckMode())) {
......@@ -1675,7 +1675,7 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
}
private InputItem getInputItem(Long itemId) {
return ValidationUtil.isEmpty(itemId) ? iInputItemDao.getOne(itemId) : null;
return !ValidationUtil.isEmpty(itemId) ? iInputItemDao.getOne(itemId) : null;
}
private String getPhotoUrls(InputCheckDto inputCheckDto) {
......
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