文件名从 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireBatchMapper.xml 修改 |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.aps.core.mapper.ApsPlateStandardRequireBatchMapper"> |
| | | |
| | | <resultMap type="com.aps.core.domain.ApsPlateStandardRequireBatch" id="ApsPlateStandardRequireBatchResult"> |
| | | <resultMap type="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireBatch" id="ApsPlateStandardRequireBatchResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="batchNumber" column="batch_number" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | |
| | | select id, batch_number, del_flag, create_time, create_by, update_by, update_time from aps_plate_standard_require_batch |
| | | </sql> |
| | | |
| | | <select id="selectApsPlateStandardRequireBatchList" parameterType="com.aps.core.domain.ApsPlateStandardRequireBatch" resultMap="ApsPlateStandardRequireBatchResult"> |
| | | <select id="selectApsPlateStandardRequireBatchList" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireBatch" resultMap="ApsPlateStandardRequireBatchResult"> |
| | | <include refid="selectApsPlateStandardRequireBatchVo"/> |
| | | <where> |
| | | <if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertApsPlateStandardRequireBatch" parameterType="com.aps.core.domain.ApsPlateStandardRequireBatch"> |
| | | <insert id="insertApsPlateStandardRequireBatch" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireBatch"> |
| | | insert into aps_plate_standard_require_batch |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateApsPlateStandardRequireBatch" parameterType="com.aps.core.domain.ApsPlateStandardRequireBatch"> |
| | | <update id="updateApsPlateStandardRequireBatch" parameterType="com.aps.core.domain.ApsPlate.ApsPlateStandardRequireBatch"> |
| | | update aps_plate_standard_require_batch |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="batchNumber != null">batch_number = #{batchNumber},</if> |