zjh
2024-10-28 0c0324f7ee99febe9c4aee0e149dc3fe73a9a1e1
ltkj-system/src/main/resources/mapper/system/TjDjdDyjlMapper.xml
@@ -20,7 +20,18 @@
    </resultMap>
    <sql id="selectTjDjdDyjlVo">
        select id, tj_num, card_id, dycs, create_time, create_by, update_time, update_by, deleted,dylx,dysj,hzxm
        select id,
               tj_num,
               card_id,
               dycs,
               create_time,
               create_by,
               update_time,
               update_by,
               deleted,
               dylx,
               dysj,
               hzxm
        from tj_djd_dyjl
    </sql>
@@ -36,9 +47,10 @@
                        <if test="dycs != null ">
                            and dycs = #{dycs}
                        </if>
                        <if test="deleted != null ">
                            and deleted = #{deleted}
            <if test="beginTime != null and endTime != null">
                and dysj between #{beginTime} and #{endTime}
                        </if>
            and deleted =0
        </where>
    </select>
@@ -122,7 +134,8 @@
    <delete id="deleteTjDjdDyjlById" parameterType="Long">
        delete
        from tj_djd_dyjl where id = #{id}
        from tj_djd_dyjl
        where id = #{id}
    </delete>
    <delete id="deleteTjDjdDyjlByIds" parameterType="String">