费用报销单生成错误字段修复
This commit is contained in:
parent
b5bd576d17
commit
4cd1dadc75
|
@ -23,6 +23,7 @@
|
|||
<result property="rytype" column="rytype" />
|
||||
<result property="grdm" column="grdm" />
|
||||
<result property="yt" column="yt" />
|
||||
<result property="bnxid" column="bnxid" />
|
||||
<result property="skrbz" column="skrbz" />
|
||||
|
||||
</resultMap>
|
||||
|
@ -56,6 +57,7 @@ GSDM,KJND
|
|||
<if test="grdm != null and grdm !='' "> GRDM, </if>
|
||||
<if test="yt != null and yt !='' "> yt,</if>
|
||||
<if test="skrbz != null and skrbz !='' "> SKRBZ, </if>
|
||||
<if test="bnxid != null and bnxid !='' "> bnxid, </if>
|
||||
<if test="gsdm != null and gsdm !='' "> GSDM </if>
|
||||
)
|
||||
values (
|
||||
|
@ -82,6 +84,7 @@ GSDM,KJND
|
|||
<if test="grdm != null and grdm !='' "> #{grdm}, </if>
|
||||
<if test="yt != null and yt !='' "> #{yt},</if>
|
||||
<if test="skrbz != null and skrbz !='' "> #{skrbz}, </if>
|
||||
<if test="bnxid != null and bnxid !='' "> #{bnxid}, </if>
|
||||
<if test="gsdm != null and gsdm !='' "> #{gsdm} </if>
|
||||
)
|
||||
</insert>
|
||||
|
|
|
@ -85,7 +85,7 @@ GSDM,KJND,mlId
|
|||
as mlId from OER_DJML where GSDM=#{gsdm} and mlid like concat(substring(replace(DATE_FORMAT(now(),'%Y-%m-%d'),'-',''),1,6),'%')
|
||||
</select>-->
|
||||
<select id="OerDjmlEntity_list_base_mlidMax" resultMap="get-OerDjmlEntity-result" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
|
||||
select (isnull(max(MLID),concat(substring(#{djdate},0,7),0000)) + 1) as mlId
|
||||
select (isnull(max(MLID),concat(substring(#{djdate},0,7),'0000')) + 1) as mlId
|
||||
from OER_DJML where 1=1 and GSDM=#{gsdm} and MLID like concat(substring(#{djdate},0,7),'%')
|
||||
</select>
|
||||
|
||||
|
|
|
@ -277,8 +277,8 @@ public class OerDjmlExtServiceImpl implements IOerDjmlExtService {
|
|||
jsfs.setDjlxId(djlxid);
|
||||
jsfs.setBnxid(headers.get("jsfs_bnxid"));
|
||||
jsfs.setXh(String.valueOf(xh));
|
||||
jsfs.setJsfsdm(forson.getString("field0042"));
|
||||
jsfs.setJsfsmc(forson.getString("field0043"));
|
||||
jsfs.setJsfsdm(forson.getString("field0043"));
|
||||
jsfs.setJsfsmc(forson.getString("field0042"));
|
||||
jsfs.setKmdm("");
|
||||
jsfs.setKmmc("");
|
||||
jsfs.setSkr(forson.getString("field0076"));
|
||||
|
|
Loading…
Reference in New Issue