Jelajahi Sumber

合同编号

huangfuli 3 tahun lalu
induk
melakukan
1baefb5508

+ 8 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/entity/WeighingManagement.java

@@ -48,6 +48,10 @@ public class WeighingManagement extends BaseModel<WeighingManagement> {
      * 编号
      */
     private String number;
+    /**
+     * 合同编号
+     */
+    private String contractNo;
     /**
      * 客户
      */
@@ -168,6 +172,10 @@ public class WeighingManagement extends BaseModel<WeighingManagement> {
      * 已称皮重状态(1是)
      */
     private String tared;
+    /**
+     * 附件地址
+     */
+    private String addressUrl;
 
     /**
      * 模糊查询

+ 4 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/WeighingManagementMapper.xml

@@ -11,6 +11,7 @@
             AND (lower(number) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(customer) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(car_number) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
         </if>
     </select>
     <!-- 获得检斤管理列表 -->
@@ -20,6 +21,7 @@
         id,
         number,
         customer,
+        contract_no as contractNo,
         car_number as carNumber,
         goods_name as goodsName,
         gross_weight as grossWeight,
@@ -30,6 +32,7 @@
         gross_date as grossDate,
         tare_date as tareDate,
         status,
+        address_url as addressUrl,
         status_flag as statusFlag
         FROM weighing_management
         WHERE delete_flag = '0'
@@ -37,6 +40,7 @@
             AND (lower(number) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(customer) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(car_number) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
         </if>
         ORDER BY update_date DESC
         <if test="currentPage != null and currentPage != ''">