|
|
|
@ -22,12 +22,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<result property="updateBy" column="update_by" /> |
|
|
|
|
<result property="updateTime" column="update_time" /> |
|
|
|
|
<result property="remark" column="remark" /> |
|
|
|
|
<result property="identityid" column="identityid" /> |
|
|
|
|
<result property="identity" column="identity" /> |
|
|
|
|
<result property="dqbm" column="dqbm" /> |
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
<sql id="selectInvoiceAllYhdjVo"> |
|
|
|
|
select id, bsryxm, dlsf, dlsfmm, dlfs, dlmm, dlzh, nsrmc, nsrsbh, bsrysfzjhm, bsrysjhm, zjh, create_by, create_time, update_by, update_time, remark,identityid,dqbm from invoice_all_yhdj |
|
|
|
|
select id, bsryxm, dlsf, dlsfmm, dlfs, dlmm, dlzh, nsrmc, nsrsbh, bsrysfzjhm, bsrysjhm, zjh, create_by, create_time, update_by, update_time, remark,identity,dqbm from invoice_all_yhdj |
|
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
<select id="selectInvoiceAllYhdjList" parameterType="InvoiceAllYhdj" resultMap="InvoiceAllYhdjResult"> |
|
|
|
@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<if test="bsrysfzjhm != null and bsrysfzjhm != ''"> and bsrysfzjhm = #{bsrysfzjhm}</if> |
|
|
|
|
<if test="bsrysjhm != null and bsrysjhm != ''"> and bsrysjhm = #{bsrysjhm}</if> |
|
|
|
|
<if test="zjh != null and zjh != ''"> and zjh = #{zjh}</if> |
|
|
|
|
<if test="identityid != null and identityid != ''"> and identityid = #{identityid}</if> |
|
|
|
|
<if test="identity != null and identity != ''"> and identity = #{identity}</if> |
|
|
|
|
<if test="dqbm != null and dqbm != ''"> and dqbm = #{dqbm}</if> |
|
|
|
|
</where> |
|
|
|
|
</select> |
|
|
|
@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<if test="updateBy != null">update_by,</if> |
|
|
|
|
<if test="updateTime != null">update_time,</if> |
|
|
|
|
<if test="remark != null">remark,</if> |
|
|
|
|
<if test="identityid != null">identityid,</if> |
|
|
|
|
<if test="identity != null">identity,</if> |
|
|
|
|
<if test="dqbm != null">dqbm,</if> |
|
|
|
|
</trim> |
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
@ -95,7 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<if test="updateBy != null">#{updateBy},</if> |
|
|
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
|
|
<if test="remark != null">#{remark},</if> |
|
|
|
|
<if test="identityid != null">#{identityid},</if> |
|
|
|
|
<if test="identity != null">#{identity},</if> |
|
|
|
|
<if test="dqbm != null">#{dqbm},</if> |
|
|
|
|
</trim> |
|
|
|
|
</insert> |
|
|
|
@ -119,7 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if> |
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
|
<if test="identityid != null">identityid = #{identityid},</if> |
|
|
|
|
<if test="identity != null">identity = #{identity},</if> |
|
|
|
|
<if test="dqbm != null">dqbm = #{dqbm},</if> |
|
|
|
|
</trim> |
|
|
|
|
where id = #{id} |
|
|
|
|