| | |
| | | and createTime between #{query.startTime} and #{query.endTime} |
| | | </if> |
| | | and isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} |
| | | and `type` = 1 |
| | | </where> |
| | | ORDER BY createTime DESC |
| | | </select> |
| | | <select id="inventoryReceiptLensList" resultType="com.jilongda.manage.vo.TWarehousingLensVO"> |
| | | select <include refid="Base_Column_List"></include> |
| | | from t_warehousing |
| | | <where> |
| | | <if test="query.storeId != null"> |
| | | and storeId = #{query.storeId} |
| | | </if> |
| | | <if test="query.status != null"> |
| | | and status = #{query.status} |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | and createTime between #{query.startTime} and #{query.endTime} |
| | | </if> |
| | | and `type` = 2 |
| | | and isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY createTime DESC |
| | | </select> |