| | |
| | | <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> |
| | | <if test="stockrecord.startTime!=null and stockrecord.startTime!=''"> |
| | | and st.create_time >= #{stockrecord.startTime} |
| | | </if> |
| | | <if test="stockrecord.endTime!=null and stockrecord.endTime!=''"> |
| | | and st.create_time <= #{stockrecord.endTime} |
| | | </if> |
| | | ORDER BY st.create_time desc |
| | | </select> |
| | | |
| | | </mapper> |