| | |
| | | <select id="selectApsShopList" parameterType="ApsShop" resultMap="ApsShopResult"> |
| | | <include refid="selectApsShopVo"/> |
| | | <where> |
| | | <if test="shopName != null and shopName != ''"> and shop_name like concat('%', #{shopName}, '%')</if> |
| | | <if test="shopCode != null and shopCode != ''"> and shop_code like concat('%', #{shopCode}, '%')</if> |
| | | <if test="shopName != null and shopName != ''"> and shop_name = #{shopName}</if> |
| | | <if test="shopCode != null and shopCode != ''"> and shop_code = #{shopCode}</if> |
| | | <if test="plantCode != null and plantCode != ''"> and plant_code = #{plantCode}</if> |
| | | <if test="status != null and status != ''"> and status = #{status}</if> |
| | | </where> |