guarantee-lsq 2 жил өмнө
parent
commit
18f0dbc0fe

+ 2 - 0
platform-dao/src/main/java/com/platform/dao/dto/store/OutStoreFormDTO.java

@@ -158,4 +158,6 @@ public class OutStoreFormDTO extends BaseDTO implements Serializable {
      * 是否出库:0退库,1出库
      */
     private Integer outFlag;
+
+    private String feeFrom;
 }

+ 5 - 0
platform-dao/src/main/java/com/platform/dao/entity/store/OutStoreForm.java

@@ -111,4 +111,9 @@ public class OutStoreForm implements Serializable{
      * 是否出库:0退库,1出库
      */
     private Integer outFlag;
+
+    /**
+     * 成本归属
+     */
+    private String feeFrom;
 }

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

@@ -112,13 +112,13 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
         }*/
         outStoreFormVO.setDetailList(mapper.selectDetailList(id));
         // 获取成本归属
-        if(StringUtils.isNotBlank(outStoreFormVO.getPickId())){
+        /*if(StringUtils.isNotBlank(outStoreFormVO.getPickId())){
             String sbId = repairApplicationFormMapper.selectById(outStoreFormVO.getPickId()).getSbId();
             SbInfo sbInfo = sbInfoMapper.selectByPrimaryKey(sbId);
             if(StringUtils.isNotBlank(sbInfo.getPositionId())){
                 outStoreFormVO.setFeeFrom(sbPositionMapper.selectNameById(sbInfo.getPositionId()) + "-" + sbInfo.getCph());
             }
-        }
+        }*/
         return outStoreFormVO;
     }