文件名从 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireErrorMapper.xml 修改 |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.aps.core.mapper.ApsPlateStandardRequireErrorMapper"> |
| | | |
| | | <resultMap type="com.aps.core.domain.ApsPlateStandardRequireError" id="ApsPlateStandardRequireErrorResult"> |
| | | <resultMap type="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireError" id="ApsPlateStandardRequireErrorResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="batchNumber" column="batch_number" /> |
| | | <result property="requireId" column="require_id" /> |
| | |
| | | select id, batch_number, require_id, doc_num, item_num, org_code, message, del_flag, create_by, create_time, update_by, update_time from aps_plate_standard_require_error |
| | | </sql> |
| | | |
| | | <select id="selectApsPlateStandardRequireErrorList" parameterType="com.aps.core.domain.ApsPlateStandardRequireError" resultMap="ApsPlateStandardRequireErrorResult"> |
| | | <select id="selectApsPlateStandardRequireErrorList" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireError" resultMap="ApsPlateStandardRequireErrorResult"> |
| | | <include refid="selectApsPlateStandardRequireErrorVo"/> |
| | | <where> |
| | | <if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertApsPlateStandardRequireError" parameterType="com.aps.core.domain.ApsPlateStandardRequireError"> |
| | | <insert id="insertApsPlateStandardRequireError" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireError"> |
| | | insert into aps_plate_standard_require_error |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateApsPlateStandardRequireError" parameterType="com.aps.core.domain.ApsPlateStandardRequireError"> |
| | | <update id="updateApsPlateStandardRequireError" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireError"> |
| | | update aps_plate_standard_require_error |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="batchNumber != null">batch_number = #{batchNumber},</if> |