zhangyuewww 4 years ago
parent
commit
a2258db420

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/InOutWarehouseTaskMapper.xml

@@ -111,6 +111,7 @@
             AND (lower(a.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             AND (lower(a.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(a.in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(a.in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
         </if>
         </if>
+        group by b.id
         ORDER BY a.task_status DESC , a.establish_date DESC
         ORDER BY a.task_status DESC , a.establish_date DESC
         <if test="currentPage != null and currentPage != ''">
         <if test="currentPage != null and currentPage != ''">
             LIMIT ${startRecord}, ${pageSize}
             LIMIT ${startRecord}, ${pageSize}