| | |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | |
| | | <result column="stock" property="stock" /> |
| | | <result column="inventory_max" property="inventoryMax" /> |
| | | <result column="inventory_min" property="inventoryMin" /> |
| | | <result column="inventory_age_max" property="inventoryAgeMax" /> |
| | | </resultMap> |
| | | |
| | | <select id="listByPage" resultMap="BaseResultMap"> |
| | |
| | | group by matnr |
| | | ) as mld on mld.matnr = mm.matnr |
| | | WHERE 1=1 |
| | | and (mm.memo is null or mm.memo != '打包上线') |
| | | AND (CHARINDEX(','+#{tagId}+',', ','+mt.path+',') > 0 OR mt.id = #{tagId}) |
| | | <if test="matnr != null and matnr != ''"> |
| | | and mm.matnr like concat('%',#{matnr},'%') |