|
@@ -33,8 +33,10 @@
|
|
q.tidal_grain_price as tidalGrainPrice,
|
|
q.tidal_grain_price as tidalGrainPrice,
|
|
q.water_content as waterContent,
|
|
q.water_content as waterContent,
|
|
q.bin_number as binNumber,
|
|
q.bin_number as binNumber,
|
|
|
|
+ q.bulk_density as bulkDensity,
|
|
q.storage_tag_no as storageTagNo,
|
|
q.storage_tag_no as storageTagNo,
|
|
q.status,
|
|
q.status,
|
|
|
|
+ q.update_date as updateDate,
|
|
q.quality_date as qualityDate
|
|
q.quality_date as qualityDate
|
|
FROM quality_inspection_management q
|
|
FROM quality_inspection_management q
|
|
WHERE
|
|
WHERE
|
|
@@ -48,7 +50,7 @@
|
|
<if test="warehouseName != null and warehouseName != ''">
|
|
<if test="warehouseName != null and warehouseName != ''">
|
|
AND q.warehouse_name= #{warehouseName}
|
|
AND q.warehouse_name= #{warehouseName}
|
|
</if>
|
|
</if>
|
|
- ORDER BY q.quality_date DESC
|
|
|
|
|
|
+ ORDER BY q.update_date DESC
|
|
<if test="currentPage != null and currentPage != ''">
|
|
<if test="currentPage != null and currentPage != ''">
|
|
LIMIT ${startRecord}, ${pageSize}
|
|
LIMIT ${startRecord}, ${pageSize}
|
|
</if>
|
|
</if>
|