Commit 9deecf37 authored by gaoyingwei's avatar gaoyingwei

修改 核算采集导入

parent 83533378
......@@ -187,8 +187,7 @@ public class HscjServiceImpl implements IHscjService {
hscj.setRygx("本人");
}
List<HscjErrorDto> hsctList = list.stream().filter(l ->
hscj.getCardNo().equals(l.getCardNo()) && l.getCjTime() != null &&
DateUtils.dateTime(hscj.getCjTime()).equals(DateUtils.dateTime(l.getCjTime())))
hscj.getCardNo().equals(l.getCardNo()) && l.getCjgh() != null && hscj.getCjgh().equals(l.getCjgh()))
.collect(Collectors.toList());
if (hsctList.size() > 1) {
hscj.setError("存在重复数据");
......
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