| | |
| | | <select id="listPage" resultType="com.ruoyi.consumables.dto.ConsumablesInRecordDto"> |
| | | SELECT |
| | | sir.*, |
| | | sir.stock_in_num as qualitity, |
| | | p.product_name as product_name, |
| | | pm.model, |
| | | pm.unit, |
| | |
| | | LEFT JOIN product as p on pm.product_id = p.id |
| | | LEFT JOIN sys_user as u on sir.create_user = u.user_id |
| | | <where> |
| | | 1=1 |
| | | <if test="params.timeStr != null and params.timeStr != ''"> |
| | | and sir.create_time like concat('%',#{params.timeStr},'%') |
| | | </if> |
| | |
| | | LEFT JOIN product as p on pm.product_id = p.id |
| | | LEFT JOIN sys_user as u on sir.create_user = u.user_id |
| | | <where> |
| | | 1=1 |
| | | <if test="params.timeStr != null and params.timeStr != ''"> |
| | | and sir.create_time like concat('%',#{params.timeStr},'%') |
| | | </if> |