| | |
| | | <result column="specs" property="specs" /> |
| | | </resultMap> |
| | | |
| | | |
| | | <sql id="PageCondition"> |
| | | <if test="zpallet != null and zpallet != '' "> |
| | | and zpallet like '%' + #{zpallet} + '%' |
| | | </if> |
| | | <if test="specs !=null and specs!='' "> |
| | | and zpallet like #{specs} + '%' |
| | | </if> |
| | | <if test="price!=null and price!='' "> |
| | | and price like '%' + #{price} + '%' |
| | | </if> |
| | | </sql> |
| | | |
| | | <update id="half" parameterType="com.zy.asrs.entity.HalfBarcode"> |
| | | UPDATE cust_half_barcode |
| | | <set> |
| | |
| | | </set> |
| | | WHERE zpallet = #{zpallet} |
| | | </update> |
| | | <select id="getList" resultType="com.zy.asrs.entity.HalfBarcode"> |
| | | select zpallet,sum(1) as anfme from cust_matnr_barcode |
| | | where 1=1 |
| | | <include refid="PageCondition"></include> |
| | | group by zpallet |
| | | </select> |
| | | </mapper> |