| | |
| | | <result property="status" column="status" jdbcType="TINYINT"/> |
| | | <result property="creator" column="creator" jdbcType="VARCHAR"/> |
| | | <result property="dt" column="dt" jdbcType="TIMESTAMP"/> |
| | | <result property="deleted" column="deleted" jdbcType="TINYINT"/> |
| | | <result column="deleted" property="deleted" typeHandler="com.dy.common.mybatis.BooleanTypeHandler" /> |
| | | <result property="remark" column="remark" jdbcType="VARCHAR"/> |
| | | </resultMap> |
| | | <resultMap id="BaseResultMap2" type="com.dy.pmsGlobal.pojoPr.PrOrder" extends="BaseResultMap"> |
| | |
| | | <if test="endDate != null and endDate != ''"> |
| | | delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and |
| | | </if> |
| | | <if test="status != null and status != ''"> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT} and |
| | | </if> |
| | | </trim> |
| | |
| | | <if test="endDate != null and endDate != ''"> |
| | | delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and |
| | | </if> |
| | | <if test="status != null and status != ''"> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT} and |
| | | </if> |
| | | </trim> |
| | | </select> |
| | | <select id="selectAll" resultType="com.dy.pmsGlobal.pojoPr.PrOrder"> |
| | | <select id="selectAll" resultMap="BaseResultMap2"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from pr_order p |
| | |
| | | <if test="endDate != null and endDate != ''"> |
| | | delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and |
| | | </if> |
| | | <if test="status != null and status != ''"> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT} and |
| | | </if> |
| | | </trim> |
| | |
| | | <if test="director != null and director !=''">director,</if> |
| | | <if test="dMobile != null and dMobile !=''">d_mobile,</if> |
| | | <if test="deliveryDate!= null and deliveryDate !=''">delivery_date,</if> |
| | | <if test="status != null and status !=''">status,</if> |
| | | <if test="status != null">status,</if> |
| | | <if test="creator != null and creator !=''">creator,</if> |
| | | <if test="dt != null and dt !=''">dt,</if> |
| | | <if test="deleted != null and deleted !=''">deleted,</if> |
| | |
| | | <if test="director != null and director !=''">#{director,jdbcType=VARCHAR},</if> |
| | | <if test="dMobile != null and dMobile !=''">#{dMobile,jdbcType=VARCHAR},</if> |
| | | <if test="deliveryDate!= null and deliveryDate !=''">#{deliveryDate,jdbcType=VARCHAR},</if> |
| | | <if test="status != null and status !=''">#{status,jdbcType=TINYINT},</if> |
| | | <if test="status != null">#{status,jdbcType=TINYINT},</if> |
| | | <if test="creator != null and creator !=''">#{creator,jdbcType=VARCHAR},</if> |
| | | <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if> |
| | | <if test="deleted != null and deleted !=''">#{deleted,jdbcType=TINYINT},</if> |
| | |
| | | <if test="deliveryDate!= null and deliveryDate !=''"> |
| | | delivery_date = #{deliveryDate,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null and status !=''"> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="creator != null and creator !=''"> |