凭证中增加合同号
This commit is contained in:
parent
32481d8a09
commit
da99232ee7
|
@ -60,6 +60,15 @@ public class SenderGlPzmlEntity extends BaseEntity {
|
||||||
private String bmdm;
|
private String bmdm;
|
||||||
|
|
||||||
private String ts;
|
private String ts;
|
||||||
|
private String htCode;
|
||||||
|
|
||||||
|
public String getHtCode() {
|
||||||
|
return htCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHtCode(String htCode) {
|
||||||
|
this.htCode = htCode;
|
||||||
|
}
|
||||||
|
|
||||||
public String getTs() {
|
public String getTs() {
|
||||||
return ts;
|
return ts;
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
<result property="stamp" column="stamp" jdbcType="VARCHAR"/>
|
<result property="stamp" column="stamp" jdbcType="VARCHAR"/>
|
||||||
<result property="yspzje" column="yspzje" jdbcType="VARCHAR"/>
|
<result property="yspzje" column="yspzje" jdbcType="VARCHAR"/>
|
||||||
<result property="ts" column="ts" jdbcType="VARCHAR"/>
|
<result property="ts" column="ts" jdbcType="VARCHAR"/>
|
||||||
|
<result property="htCode" column="htCode" jdbcType="VARCHAR"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<!-- 查询的字段-->
|
<!-- 查询的字段-->
|
||||||
<sql id = "SenderGlPzmlEntity_Base_Column_List">
|
<sql id = "SenderGlPzmlEntity_Base_Column_List">
|
||||||
|
@ -286,6 +287,7 @@
|
||||||
pznr.kjqj as kjqj,
|
pznr.kjqj as kjqj,
|
||||||
pzml.srrq as srrq,
|
pzml.srrq as srrq,
|
||||||
pznr.bmdm,
|
pznr.bmdm,
|
||||||
|
pznr.fzdm12 as htCode,
|
||||||
pznr.zy as pzzy,
|
pznr.zy as pzzy,
|
||||||
sum(pznr.je) as pzje,
|
sum(pznr.je) as pzje,
|
||||||
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh
|
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh
|
||||||
|
@ -302,7 +304,7 @@
|
||||||
pzml.srrq,
|
pzml.srrq,
|
||||||
pznr.zy,
|
pznr.zy,
|
||||||
pznr.bmdm,
|
pznr.bmdm,
|
||||||
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh
|
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh,pznr.fzdm12
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询列表 商学院所需要的凭证数据-->
|
<!-- 查询列表 商学院所需要的凭证数据-->
|
||||||
|
|
|
@ -719,6 +719,7 @@ public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, Str
|
||||||
jsonObjectParams.put("description",pzmlEntity.getPzzy());//说明
|
jsonObjectParams.put("description",pzmlEntity.getPzzy());//说明
|
||||||
jsonObjectParams.put("amount",roundedValue.doubleValue());//金额
|
jsonObjectParams.put("amount",roundedValue.doubleValue());//金额
|
||||||
jsonObjectParams.put("pzNum",pzNum);//凭证号 例如:公司代码+账套号+会计期间+凭证号:001_001_202408_付款_1
|
jsonObjectParams.put("pzNum",pzNum);//凭证号 例如:公司代码+账套号+会计期间+凭证号:001_001_202408_付款_1
|
||||||
|
jsonObjectParams.put("htCode",pzmlEntity.getHtCode());//合同号
|
||||||
//根据idpzh查询指标id和指标金额以及部门经济科目
|
//根据idpzh查询指标id和指标金额以及部门经济科目
|
||||||
SenderGlPznrEntity senderGlPznrEntity=new SenderGlPznrEntity();
|
SenderGlPznrEntity senderGlPznrEntity=new SenderGlPznrEntity();
|
||||||
senderGlPznrEntity.setIdpznr(pzmlEntity.getIdpzh());
|
senderGlPznrEntity.setIdpznr(pzmlEntity.getIdpzh());
|
||||||
|
|
Loading…
Reference in New Issue