2 éve
szülő
commit
2335546678

+ 1 - 0
platform-dao/src/main/resources/mapper/repair/RepairFeeMapper.xml

@@ -82,6 +82,7 @@
             <if test="feeDateEnd != null">
                 and fee.fee_date <![CDATA[ <= ]]> #{feeDateEnd}
             </if>
+
         </where>
     </select>
     <select id="selectById" parameterType="java.lang.Object" resultType="com.platform.dao.entity.repair.RepairFee">

+ 3 - 2
platform-service/src/main/java/com/platform/service/store/impl/OutStoreFormServiceImpl.java

@@ -70,7 +70,7 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
 
     @Override
     public List<OutStoreFormVO> selectbyRepairForm(String id) {
-        List<OutStoreForm> outStoreForms = mapper.select(new OutStoreForm().setRepairFormId(id));
+        List<OutStoreForm> outStoreForms = mapper.select(new OutStoreForm().setPickId(id));
         List<OutStoreFormVO> outStoreFormVOS = BeanConverterUtil.copyListProperties(outStoreForms,OutStoreFormVO.class);
         List<OutStoreDetailVO> detailVOS;
         if (outStoreFormVOS!=null&&outStoreFormVOS.size()>0) {
@@ -295,10 +295,11 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
         }
         model.setStoreId(detailList.get(0).getStoreId());
         model.setStoreName(detailList.get(0).getStoreName());
+        model.setPickId(model.getPickId());
         OutStoreForm outStoreForm = super.saveModelByDTO(model);
         // 插
         for (OutStoreDetailDTO detail : detailList) {
-            detail.setRepairFormId(model.getRepairFormId());
+//            detail.setRepairFormId(model.getRepairFormId());
             detail.setUserInfo(userInfo);
             detail.setOutId(outStoreForm.getId());
             detail.setRealNum(detail.getNum());