| | |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="deleted" column="deleted"/> |
| | | <result property="xb" column="xb"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTjProAdvicerulesVo"> |
| | | select id, bm, ks, jcxm, zyzd, jymc, jynr, fwz, fwzxz, fwzdz, ycbz, sfjb, sfcjb, sfmxb, sfzdjb, create_time, update_time, create_by, update_by, deleted |
| | | select id, |
| | | bm, |
| | | ks, |
| | | jcxm, |
| | | zyzd, |
| | | jymc, |
| | | jynr, |
| | | fwz, |
| | | fwzxz, |
| | | fwzdz, |
| | | ycbz, |
| | | sfjb, |
| | | sfcjb, |
| | | sfmxb, |
| | | sfzdjb, |
| | | create_time, |
| | | update_time, |
| | | create_by, |
| | | update_by, |
| | | deleted, |
| | | xb |
| | | from tj_pro_advicerules |
| | | </sql> |
| | | |
| | |
| | | </if> |
| | | <if test="sfzdjb != null and sfzdjb != ''"> |
| | | and sfzdjb = #{sfzdjb} |
| | | </if> |
| | | <if test="xb != null and xb != ''"> |
| | | and xb = #{xb} |
| | | </if> |
| | | </where> |
| | | ORDER BY ks |
| | |
| | | </if> |
| | | <if test="deleted != null">deleted, |
| | | </if> |
| | | |
| | | <if test="xb != null">xb, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id}, |
| | |
| | | <if test="updateBy != null">#{updateBy}, |
| | | </if> |
| | | <if test="deleted != null">#{deleted}, |
| | | </if> |
| | | <if test="xb != null">#{xb}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="deleted != null">deleted = |
| | | #{deleted}, |
| | | </if> |
| | | <if test="xb != null">xb = |
| | | #{xb}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteTjProAdvicerulesById" parameterType="Long"> |
| | | delete |
| | | from tj_pro_advicerules where id = #{id} |
| | | from tj_pro_advicerules |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteTjProAdvicerulesByIds" parameterType="String"> |