智慧农业后台管理
guoshilong
2022-08-15 8e65eb751d8e3c18d9d2134df084d349e55f1985
src/main/java/org/springblade/modules/stockrecord/mapper/StockrecordMapper.xml
@@ -89,6 +89,9 @@
        <if test="stockrecord.sid!=null and stockrecord.sid != ''">
            and st.sid = #{stockrecord.sid}
        </if>
        <if test="stockrecord.deptId != null and stockrecord.deptId !=''">
            and st.dept_id = #{stockrecord.deptId}
        </if>
        ORDER BY st.create_time desc
    </select>