| | |
| | | <if test="viewWorkIn.matnr!=null and viewWorkIn.matnr!='' "> |
| | | and matnr like '%' + #{viewWorkIn.matnr} + '%' |
| | | </if> |
| | | <if test="viewWorkIn.zpallet!=null and viewWorkIn.zpallet!='' "> |
| | | and zpallet like '%' + #{viewWorkIn.zpallet} + '%' |
| | | </if> |
| | | <if test="viewWorkIn.maktx!=null and viewWorkIn.maktx!='' "> |
| | | and (maktx like '%' + #{viewWorkIn.maktx} + '%' |
| | | or matnr like '%' + #{viewWorkIn.maktx} + '%' |
| | |
| | | select * from asr_wrkin_view |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionSql"></include> |
| | | order by io_time desc |
| | | </select> |
| | | |
| | | <!-- 不分页查询所有信息,用于excel导出 --> |
| | |
| | | select * from asr_wrkin_view |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionMapSql"></include> |
| | | order by io_time desc |
| | | </select> |
| | | |
| | | <!-- 出库统计 --> |
| | |
| | | from asr_wrkout_view |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionSql"></include> |
| | | order by io_time desc |
| | | </select> |
| | | |
| | | <!-- 不分页查询所有信息,用于excel导出 --> |