|
|
@ -100,7 +100,7 @@ public class PartCostHistServiceImpl extends ServiceImpl<PartCostHistMapper, Par |
|
|
task.setUpdateBy(data.getUpdateBy()); |
|
|
task.setUpdateBy(data.getUpdateBy()); |
|
|
task.setUpdateDate(new Date()); |
|
|
task.setUpdateDate(new Date()); |
|
|
QueryWrapper<PartInformationEntity> queryWrapper = new QueryWrapper<>(); |
|
|
QueryWrapper<PartInformationEntity> queryWrapper = new QueryWrapper<>(); |
|
|
queryWrapper.eq("part_no", task.getPartNo()); |
|
|
|
|
|
|
|
|
queryWrapper.eq("part_no", task.getPartNo()).eq("site", task.getSite()); |
|
|
PartInformationEntity partInformationEntity = partInformationMapper.selectOne(queryWrapper); |
|
|
PartInformationEntity partInformationEntity = partInformationMapper.selectOne(queryWrapper); |
|
|
|
|
|
|
|
|
if (partInformationEntity == null) { |
|
|
if (partInformationEntity == null) { |
|
|
|