智慧农业后台管理
guoshilong
2022-08-12 9d9928e3a79c202c1718f7fec7c154090627eaba
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>