数科问题处理

beta-enc
dongxiaoke 2 years ago
parent 9b94fb1ea8
commit 3d3d1577e1
  1. 2
      jianshui-invoice-all/src/main/java/com/jianshui/invoiceall/service/impl/InvoiceAllImpl.java
  2. 8
      jianshui-invoice/src/main/java/com/jianshui/invoice/utils/JcskTest.java
  3. 2
      jianshui-system/src/main/java/com/jianshui/system/domain/InvoiceAllYhdj.java
  4. 12
      jianshui-system/src/main/resources/mapper/system/InvoiceAllYhdjMapper.xml

@ -110,7 +110,7 @@ public class InvoiceAllImpl implements IInvoiceAll {
yhdjMapper.updateInvoiceAllYhdj(yhdjTemp);
} else {
yhdj.setCreateTime(new Date());
yhdj.setIdentityid(companyservice.getIdentity());
yhdj.setIdentity(companyservice.getIdentity());
yhdjMapper.insertInvoiceAllYhdj(yhdj);
}
} else {

File diff suppressed because one or more lines are too long

@ -87,7 +87,7 @@ public class InvoiceAllYhdj implements Serializable
/** identityid */
private String identityid;
private String identity;
/** 地区编码 */
private String dqbm;

@ -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}

Loading…
Cancel
Save