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>