123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="com.sooka.mapper.Guiji_Funeral_Mapper2">
- <sql id="global_name">
- id,create_time,cd_time,cd_batch,cd_operation,cd_source,
- </sql>
- <sql id="global_value">
- #{id},now(),#{cd_time},#{cd_batch},#{cd_operation},#{cd_source},
- </sql>
- <sql id="update_sql">
- create_time = now(),cd_batch = #{cd_batch},cd_operation = #{cd_operation},cd_source =#{cd_source},
- </sql>
- <insert id="add_guiji_funeral" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
- insert into t_guiji_funeral_the_dead (
- <include refid="global_name"></include>
- BNO,DNAME,DSFZH,DSEX,DMZ,DAGE,BIRTH,DHJLY,DXZQH,ADDRESS,DTIME,DREASON,DADDRESS,
- HHSJ,RELATIONSHIP,LINKMAN,LINKMANPHONE,LINKMANADDRESS,OPERTM,OPERID,OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO},#{DNAME},#{DSFZH},#{DSEX},#{DMZ},#{DAGE},#{BIRTH},#{DHJLY},#{DXZQH},#{ADDRESS},
- #{DTIME},#{DREASON},#{DADDRESS},#{HHSJ},#{RELATIONSHIP},#{LINKMAN},#{LINKMANPHONE},
- #{LINKMANADDRESS},#{OPERTM},#{OPERID},#{OPERDW}
- )
- </insert>
- <update id="update_guiji_funeral" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
- update t_guiji_funeral_the_dead
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="BIRTH != null and BIRTH != ''">
- BIRTH = #{BIRTH},
- </if>
- <if test="DHJLY != null and DHJLY != ''">
- DHJLY = #{DHJLY},
- </if>
- <if test="DXZQH != null and DXZQH != ''">
- DXZQH = #{DXZQH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="DREASON != null and DREASON != ''">
- DREASON = #{DREASON},
- </if>
- <if test="HHSJ != null and HHSJ != ''">
- HHSJ = #{HHSJ},
- </if>
- <if test="DADDRESS != null and DADDRESS != ''">
- DADDRESS = #{DADDRESS},
- </if>
- <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
- RELATIONSHIP = #{RELATIONSHIP},
- </if>
- <if test="LINKMAN != null and LINKMAN != ''">
- LINKMAN = #{LINKMAN},
- </if>
- <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
- LINKMANPHONE = #{LINKMANPHONE},
- </if>
- <if test="LINKMANADDRESS != null and LINKMANADDRESS != ''">
- LINKMANADDRESS = #{LINKMANADDRESS},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- </trim>
- where id=#{id}
- </update>
- <insert id="add_guiji_funeral2" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
- insert into t_guiji_funeral_pay (
- <include refid="global_name"></include>
- BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LINKMAN, LINKMANPHONE, JMTYPE, NO, ITEMTYPE, ITEMNAME, PRICE, ITEMCOUNT, SUMMONEY, OPERTM, OPERID, OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{LINKMAN}, #{LINKMANPHONE}, #{JMTYPE}, #{NO}, #{ITEMTYPE}, #{ITEMNAME}, #{PRICE}, #{ITEMCOUNT}, #{SUMMONEY}, #{OPERTM}, #{OPERID}, #{OPERDW})
- </insert>
- <update id="update_guiji_funeral2" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
- update t_guiji_funeral_pay
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DNAME = #{DNAME},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="LINKMAN != null and LINKMAN != ''">
- LINKMAN = #{LINKMAN},
- </if>
- <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
- LINKMANPHONE = #{LINKMANPHONE},
- </if>
- <if test="JMTYPE != null and JMTYPE != ''">
- JMTYPE = #{JMTYPE},
- </if>
- <if test="NO != null and NO != ''">
- NO = #{NO},
- </if>
- <if test="ITEMTYPE != null and ITEMTYPE != ''">
- ITEMTYPE = #{ITEMTYPE},
- </if>
- <if test="ITEMNAME != null and ITEMNAME != ''">
- ITEMNAME = #{ITEMNAME},
- </if>
- <if test="PRICE != null and PRICE != ''">
- PRICE = #{PRICE},
- </if>
- <if test="ITEMCOUNT != null and ITEMCOUNT != ''">
- ITEMCOUNT = #{ITEMCOUNT},
- </if>
- <if test="SUMMONEY != null and SUMMONEY != ''">
- SUMMONEY = #{SUMMONEY},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- </trim>
- where id = #{id}
- </update>
- <insert id="add_guiji_funeral3" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
- insert into t_guiji_funeral_freeze (
- <include refid="global_name"></include>
- BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LCJNAME, STARTTM, ENDTM, DAYS, JSMONEY, YJMONEY, LINKMAN, LINKMANPHONE, OPERTM, OPERID, OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{LCJNAME}, #{STARTTM}, #{ENDTM}, #{DAYS}, #{JSMONEY}, #{YJMONEY}, #{LINKMAN}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
- </insert>
- <update id="update_guiji_funeral3" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
- update t_guiji_funeral_freeze
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DNAME = #{DNAME},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="LCJNAME != null and LCJNAME != ''">
- LCJNAME = #{LCJNAME},
- </if>
- <if test="STARTTM != null and STARTTM != ''">
- STARTTM = #{STARTTM},
- </if>
- <if test="ENDTM != null and ENDTM != ''">
- ENDTM = #{ENDTM},
- </if>
- <if test="DAYS != null and DAYS != ''">
- DAYS = #{DAYS},
- </if>
- <if test="JSMONEY != null and JSMONEY != ''">
- JSMONEY = #{JSMONEY},
- </if>
- <if test="YJMONEY != null and YJMONEY != ''">
- YJMONEY = #{YJMONEY},
- </if>
- <if test="LINKMAN != null and LINKMAN != ''">
- LINKMAN = #{LINKMAN},
- </if>
- <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
- LINKMANPHONE = #{LINKMANPHONE},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- </trim>
- where id = #{id}
- </update>
- <insert id="add_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
- insert into t_guiji_funeral_ashes_storage (
- <include refid="global_name"></include>
- BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{STARTTM}, #{ENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
- </insert>
- <update id="update_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
- update t_guiji_funeral_ashes_storage
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DNAME = #{DNAME},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="JCGNAME != null and JCGNAME != ''">
- JCGNAME = #{JCGNAME},
- </if>
- <if test="STARTTM != null and STARTTM != ''">
- STARTTM = #{STARTTM},
- </if>
- <if test="ENDTM != null and ENDTM != ''">
- ENDTM = #{ENDTM},
- </if>
- <if test="LINKMAN != null and LINKMAN != ''">
- LINKMAN = #{LINKMAN},
- </if>
- <if test="LINKMANSFZH != null and LINKMANSFZH != ''">
- LINKMANSFZH = #{LINKMANSFZH},
- </if>
- <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
- RELATIONSHIP = #{RELATIONSHIP},
- </if>
- <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
- LINKMANPHONE = #{LINKMANPHONE},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- </trim>
- where id = #{id}
- </update>
- <insert id="add_guiji_funeral5" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
- insert into t_guiji_funeral_ashes_renew (
- <include refid="global_name"></include>
- BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, XCSTARTTM, XCENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{XCSTARTTM}, #{XCENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
- </insert>
- <update id="update_guiji_funeral5" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
- update t_guiji_funeral_ashes_renew
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DNAME = #{DNAME},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="JCGNAME != null and JCGNAME != ''">
- JCGNAME = #{JCGNAME},
- </if>
- <if test="XCSTARTTM != null and XCSTARTTM != ''">
- XCSTARTTM = #{XCSTARTTM},
- </if>
- <if test="XCENDTM != null and XCENDTM != ''">
- XCENDTM = #{XCENDTM},
- </if>
- <if test="LINKMAN != null and LINKMAN != ''">
- LINKMAN = #{LINKMAN},
- </if>
- <if test="LINKMANSFZH != null and LINKMANSFZH != ''">
- LINKMANSFZH = #{LINKMANSFZH},
- </if>
- <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
- RELATIONSHIP = #{RELATIONSHIP},
- </if>
- <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
- LINKMANPHONE = #{LINKMANPHONE},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- </trim>
- where id = #{id}
- </update>
- <insert id="add_guiji_funeral6" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
- insert into t_guiji_funeral_ashes_remove (
- <include refid="global_name"></include>
- BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGCODE, JCGNAME, JCPRICE, STARTTM, GETQZTM, GETMAN, GETMANSFZH, GETRLP, GETMANPHONE, OPERTM, OPERID, OPERDW)
- values (
- <include refid="global_value"></include>
- #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGCODE}, #{JCGNAME}, #{JCPRICE}, #{STARTTM}, #{GETQZTM}, #{GETMAN}, #{GETMANSFZH}, #{GETRLP}, #{GETMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
- </insert>
- <update id="update_guiji_funeral6" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
- update t_guiji_funeral_ashes_remove
- <trim prefix="SET" suffixOverrides=",">
- <include refid="update_sql"></include>
- <if test="BNO != null and BNO != ''">
- BNO = #{BNO},
- </if>
- <if test="DNAME != null and DNAME != ''">
- DNAME = #{DNAME},
- </if>
- <if test="DSEX != null and DSEX != ''">
- DSEX = #{DSEX},
- </if>
- <if test="DAGE != null and DAGE != ''">
- DAGE = #{DAGE},
- </if>
- <if test="DMZ != null and DMZ != ''">
- DMZ = #{DMZ},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- <if test="ADDRESS != null and ADDRESS != ''">
- ADDRESS = #{ADDRESS},
- </if>
- <if test="DTIME != null and DTIME != ''">
- DTIME = #{DTIME},
- </if>
- <if test="JCGCODE != null and JCGCODE != ''">
- JCGCODE = #{JCGCODE},
- </if>
- <if test="JCGNAME != null and JCGNAME != ''">
- JCGNAME = #{JCGNAME},
- </if>
- <if test="JCPRICE != null and JCPRICE != ''">
- JCPRICE = #{JCPRICE},
- </if>
- <if test="STARTTM != null and STARTTM != ''">
- STARTTM = #{STARTTM},
- </if>
- <if test="GETQZTM != null and GETQZTM != ''">
- GETQZTM = #{GETQZTM},
- </if>
- <if test="GETMAN != null and GETMAN != ''">
- GETMAN = #{GETMAN},
- </if>
- <if test="GETMANSFZH != null and GETMANSFZH != ''">
- GETMANSFZH = #{GETMANSFZH},
- </if>
- <if test="GETRLP != null and GETRLP != ''">
- GETRLP = #{GETRLP},
- </if>
- <if test="GETMANPHONE != null and GETMANPHONE != ''">
- GETMANPHONE = #{GETMANPHONE},
- </if>
- <if test="OPERTM != null and OPERTM != ''">
- OPERTM = #{OPERTM},
- </if>
- <if test="OPERID != null and OPERID != ''">
- OPERID = #{OPERID},
- </if>
- <if test="OPERDW != null and OPERDW != ''">
- OPERDW = #{OPERDW},
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- DSFZH = #{DSFZH},
- </if>
- </trim>
- where id = #{id}
- </update>
- <select id="select_funeral_the_dead" resultType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
- select id, BNO,DNAME,DSFZH,DSEX,DMZ,DAGE,BIRTH,DHJLY,DXZQH,ADDRESS,DTIME,DREASON,DADDRESS, HHSJ,RELATIONSHIP,LINKMAN,LINKMANPHONE,LINKMANADDRESS,OPERTM,OPERID,OPERDW from t_guiji_funeral_the_dead
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- <select id="select_funeral_pay" resultType="com.sooka.model.bo.Guiji_funeral2_pay_Bean" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
- select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LINKMAN, LINKMANPHONE, JMTYPE, NO, ITEMTYPE, ITEMNAME, PRICE, ITEMCOUNT, SUMMONEY, OPERTM, OPERID, OPERDW from t_guiji_funeral_pay
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- <select id="select_funeral_freeze" resultType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
- select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LCJNAME, STARTTM, ENDTM, DAYS, JSMONEY, YJMONEY, LINKMAN, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_freeze
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- <select id="select_funeral_ashes_storage" resultType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
- select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_storage
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- <select id="select_funeral_ashes_renew" resultType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
- select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, XCSTARTTM, XCENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_renew
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- <select id="select_funeral_ashes_remove" resultType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
- select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGCODE, JCGNAME, JCPRICE, STARTTM, GETQZTM, GETMAN, GETMANSFZH, GETRLP, GETMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_remove
- where 1=1
- <if test="DNAME != null and DNAME != ''">
- and DNAME = #{DNAME}
- </if>
- <if test="DSFZH != null and DSFZH != ''">
- and DSFZH = #{DSFZH}
- </if>
- </select>
- </mapper>
|