Fancy
2024-09-18 9808ea784fbe53dd3af1200999420014f1c2014e
order column add
2个文件已修改
34 ■■■■■ 已修改文件
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java
@@ -59,6 +59,20 @@
    */
    public String deliveryDate;
    /**
     * 交付地址
     */
    public String deliveryAddress;
    /**
     * 收货人
     */
    public String recipient;
    /**
     * 收货人手机号
     */
    public String rMobile;
    /**
    * 状态:正常(1)、暂停(0)、结束(-1)
    */
    public Integer status;
pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml
@@ -12,6 +12,9 @@
            <result property="director" column="director" jdbcType="VARCHAR"/>
            <result property="dMobile" column="d_mobile" jdbcType="VARCHAR"/>
            <result property="deliveryDate" column="delivery_date" jdbcType="VARCHAR"/>
            <result property="deliveryAddress" column="delivery_address" jdbcType="VARCHAR"/>
            <result property="recipient" column="recipient" jdbcType="VARCHAR"/>
            <result property="rMobile" column="r_mobile" jdbcType="VARCHAR"/>
            <result property="status" column="status" jdbcType="TINYINT"/>
            <result property="creator" column="creator" jdbcType="VARCHAR"/>
            <result property="dt" column="dt" jdbcType="TIMESTAMP"/>
@@ -26,7 +29,7 @@
    </resultMap>
    <sql id="Base_Column_List">
        id,`name`,customer_name,project_name,
        director,d_mobile,delivery_date,
        director,d_mobile,delivery_date,delivery_address,recipient,r_mobile,
        status,creator,dt,
        deleted,remark
    </sql>
@@ -159,6 +162,9 @@
                <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="deliveryAddress!= null and deliveryAddress !=''">delivery_date,</if>
                <if test="recipient!= null and recipient !=''">recipient,</if>
                <if test="rMobile!= null and rMobile !=''">r_mobile,</if>
                <if test="status != null">status,</if>
                <if test="creator != null and creator !=''">creator,</if>
                <if test="dt != null">dt,</if>
@@ -173,6 +179,9 @@
                <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="deliveryAddress!= null and deliveryAddress !=''">#{deliveryAddress,jdbcType=VARCHAR},</if>
                <if test="recipient!= null and recipient !=''">#{recipient,jdbcType=VARCHAR},</if>
                <if test="rMobile!= null and rMobile !=''">#{rMobile,jdbcType=VARCHAR},</if>
                <if test="status != null">#{status,jdbcType=TINYINT},</if>
                <if test="creator != null and creator !=''">#{creator,jdbcType=VARCHAR},</if>
                <if test="dt != null">#{dt,jdbcType=TIMESTAMP},</if>
@@ -201,6 +210,15 @@
                <if test="deliveryDate!= null and deliveryDate !=''">
                    delivery_date = #{deliveryDate,jdbcType=VARCHAR},
                </if>
                <if test="deliveryAddress!= null and deliveryAddress !=''">
                    delivery_date = #{deliveryAddress,jdbcType=VARCHAR},
                </if>
                <if test="recipient!= null and recipient !=''">
                    recipient = #{recipient,jdbcType=VARCHAR},
                </if>
                <if test="rMobile!= null and rMobile !=''">
                    r_mobile = #{rMobile,jdbcType=VARCHAR},
                </if>
                <if test="status != null">
                    status = #{status,jdbcType=TINYINT},
                </if>