wuxw
2024-01-02 74728c5c5447b21f1585d88808cc0c2dce3ddd01
java110-db/src/main/resources/mapper/oa/WorkTypeV1ServiceDaoImplMapper.xml
@@ -8,9 +8,9 @@
    <!-- 保存工作类型信息 add by wuxw 2018-07-03 -->
    <insert id="saveWorkTypeInfo" parameterType="Map">
        insert into work_type(
        type_name,remark,community_id,store_id,timeout,wt_id
        type_name,remark,community_id,store_id,sms_way,wt_id
        ) values (
        #{typeName},#{remark},#{communityId},#{storeId},#{timeout},#{wtId}
        #{typeName},#{remark},#{communityId},#{storeId},#{smsWay},#{wtId}
        )
    </insert>
@@ -18,7 +18,7 @@
    <!-- 查询工作类型信息 add by wuxw 2018-07-03 -->
    <select id="getWorkTypeInfo" parameterType="Map" resultType="Map">
        select t.type_name,t.type_name typeName,t.remark,t.status_cd,t.status_cd statusCd,t.community_id,t.community_id
        communityId,t.store_id,t.store_id storeId,t.timeout,t.wt_id,t.wt_id wtId,t.create_time createTime
        communityId,t.store_id,t.store_id storeId,t.sms_way smsWay,t.wt_id,t.wt_id wtId,t.create_time createTime
        from work_type t
        where 1 =1
        <if test="typeName !=null and typeName != ''">
@@ -36,8 +36,8 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="timeout !=null and timeout != ''">
            and t.timeout= #{timeout}
        <if test="smsWay !=null and smsWay != ''">
            and t.sms_way= #{smsWay}
        </if>
        <if test="wtId !=null and wtId != ''">
            and t.wt_id= #{wtId}
@@ -63,8 +63,8 @@
            , t.remark= #{remark}
        </if>
        <if test="timeout !=null and timeout != ''">
            , t.timeout= #{timeout}
        <if test="smsWay !=null and smsWay != ''">
            , t.sms_way= #{smsWay}
        </if>
        where 1=1
        <if test="wtId !=null and wtId != ''">
@@ -99,8 +99,8 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="timeout !=null and timeout != ''">
            and t.timeout= #{timeout}
        <if test="smsWay !=null and smsWay != ''">
            and t.sms_way= #{smsWay}
        </if>
        <if test="wtId !=null and wtId != ''">
            and t.wt_id= #{wtId}