Browse Source

fix:

优化下代码
master
pref_mail@163.com 9 months ago
parent
commit
7b8359df03
  1. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/RetentionDistributionListDetailDTO.java
  2. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.java
  3. 4
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/RetentionDistributionListDetailDTO.java

@ -8,7 +8,7 @@ import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
public class RetentionDistributionListDetailDTO extends DisStockListDetailEntity { public class RetentionDistributionListDetailDTO extends DisStockListDetailEntity {
private String MaterialName; private String materialName;
private String materialNumber; private String materialNumber;
} }

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.java

@ -191,7 +191,7 @@ public interface TaskQuestMapper extends BaseMapper<TaskQuestEntity> {
List<TaskQueryDataExcel> selectContrastStockInfo(@Param("questNum") String questNum); List<TaskQueryDataExcel> selectContrastStockInfo(@Param("questNum") String questNum);
QuestDetailEntity findEntityById(@Param("questNum") String questNum,@Param("taskID") Long taskID); QuestDetailEntity findEntityById(@Param("questNum") String questNum,@Param("taskID") Long taskId);
IPage<QuestDetailVO> findContrastList(IPage<Object> page, @Param("param") QuestDetailDTO questDetailDTO); IPage<QuestDetailVO> findContrastList(IPage<Object> page, @Param("param") QuestDetailDTO questDetailDTO);

4
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

@ -194,7 +194,9 @@ public class TaskQuestServiceImpl extends BaseServiceImpl<TaskQuestMapper, TaskQ
parcelListInfo.forEach(i -> { parcelListInfo.forEach(i -> {
QuestDetailEntity detailEntity = buildQuestDetailEntity(taskQuest, i, user, trayEntityList); QuestDetailEntity detailEntity = buildQuestDetailEntity(taskQuest, i, user, trayEntityList);
if (detailEntity == null) return; if (detailEntity == null) {
return;
}
detailEntityList.add(detailEntity); detailEntityList.add(detailEntity);
}); });

Loading…
Cancel
Save