Bladeren bron

解决数据回显问题

阿伏兔 4 jaren geleden
bovenliggende
commit
0961bfdd8c

+ 5 - 0
ruoyi-system/pom.xml

@@ -28,6 +28,11 @@
             <version>3.4.1</version>
             <scope>compile</scope>
         </dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-support</artifactId>
+            <version>2.3</version>
+        </dependency>
 
     </dependencies>
 

+ 8 - 0
ruoyi-warehouse/src/main/java/com/ruoyi/warehouseBusiness/service/impl/TWarehouseBillsServiceImpl.java

@@ -133,6 +133,14 @@ public class TWarehouseBillsServiceImpl implements ITWarehouseBillsService {
             if (StringUtils.isNotNull(tWarehousebills.getfTocorpid())) {
                 corpsId.add(tWarehousebills.getfTocorpid());
             }
+            if (StringUtils.isNotNull(tWarehousebills.getfLabour())) {
+                corpsId.add(tWarehousebills.getfLabour());
+            }
+            if (StringUtils.isNotNull(tWarehousebills.getfFleet())) {
+                corpsId.add(tWarehousebills.getfFleet());
+            }
+            corpsId.add(tWarehousebills.getfCorpid());
+            corpsId.add(tWarehousebills.getfCorpid());
             corpsId.add(tWarehousebills.getfCorpid());
             // 查询制单人
             SysUser logUser = sysUserMapper.selectUserByUserName(tWarehousebills.getCreateBy());

+ 1 - 1
ruoyi-warehouse/src/main/resources/mapper/basicData/TWarehouseAreaMapper.xml

@@ -9,7 +9,7 @@
         <result property="fWarehouseid" column="f_warehouseid"/>
         <result property="fNo" column="f_no"/>
         <result property="fName" column="f_name"/>
-        <result property="fTotalgross"    column="f_totalgross"    />
+        <result property="fTotalgross"    column="f_totalgross"/>
         <result property="fAddr" column="f_addr"/>
         <result property="fStatus" column="f_status"/>
         <result property="delFlag" column="del_flag"/>

+ 1 - 1
ruoyi-warehouse/src/main/resources/mapper/warehouseBusiness/TWarehousebillsitemsMapper.xml

@@ -90,7 +90,7 @@
             <if test="fPackagespecs != null ">and f_packagespecs = #{fPackagespecs}</if>
             <if test="fBusinessType != null "> and f_business_type = #{fBusinessType}</if>
             <if test="fWarehouseInformation != null "> and f_warehouse_information = #{fWarehouseInformation}</if>
-            <if test="fOrgWarehouseInformation != null "> and f_orgwarehouse_information = #{fOrgWarehouseInformation}</if>
+            <if test="fOrgwarehouseInformation != null "> and f_orgwarehouse_information = #{fOrgwarehouseInformation}</if>
             <if test="fPlangrossweight != null ">and f_plangrossweight = #{fPlangrossweight}</if>
             <if test="fPlannetweight != null ">and f_plannetweight = #{fPlannetweight}</if>
             <if test="fQty != null ">and f_qty = #{fQty}</if>