认证结果清单查询添加字段

release
yishiqihuasheng 2 years ago
parent e12577e559
commit cc0371a10d
  1. 19
      dxhy-export-domestic/src/main/java/com/dxhy/domestic/model/vo/AuthenticationCheckListVO.java
  2. 11
      dxhy-export-domestic/src/main/java/com/dxhy/domestic/service/customsrefund/impl/DomesticCustomsRefundServiceImpl.java
  3. 5
      dxhy-export-domestic/src/main/java/com/dxhy/domestic/service/drawback/impl/DomesticInvoiceDrawbackServiceImpl.java
  4. 20
      dxhy-export-domestic/src/main/resources/mapper/DomesticCustomsRecordMapper.xml
  5. 9
      dxhy-export-domestic/src/main/resources/mapper/DomesticRecordInvoiceMapper.xml
  6. 19
      dxhy-extend/src/main/java/com/dxhy/extend/model/ExtRzjgqdRespVO.java
  7. 6
      dxhy-extend/src/main/java/com/dxhy/extend/service/tjbb/impl/ExtRzjgqdServiceImpl.java
  8. 9
      dxhy-extend/src/main/resources/mapper/ExtRzjgqdMapper.xml

@ -85,4 +85,23 @@ public class AuthenticationCheckListVO implements Serializable {
@ApiModelProperty("业务单元")
private String businessName;
//凭证号
private String snVoucherNumber;
//账期
private String accountPeriod;
//过账时间
private String postingTime;
//影像号
private String imageNumber;
//报账单号
private String bzdh;
/**
* 组织编码
*/
private String compCode;
private String bzr;
private String inAccountStatus;
}

@ -108,6 +108,12 @@ public class DomesticCustomsRefundServiceImpl extends MpBaseServiceImpl<Domestic
String qsType = (String)map.get("qsType");
map.put("qsType", dictdetaServcice.queryDictName(DictConstant.QS_TYPE, qsType));
if ("1".equals(map.get("inAccountStatus"))){
map.put("inAccountStatus","已入账");
}else {
map.put("inAccountStatus","未入账");
}
if (map.get("fillInDate") != null) {
// map.put("fillInDate", sdf.format(map.get("fillInDate")));
map.put("fillInDate",map.get("fillInDate") );
@ -514,6 +520,11 @@ public class DomesticCustomsRefundServiceImpl extends MpBaseServiceImpl<Domestic
map.put("authStatus", dictdetaServcice.queryDictName(DictConstant.AUTH_STATUS_ALL, authStatus));
String rzlx = (String)map.get("rzlx");
map.put("rzlx", dictdetaServcice.queryDictName(DictConstant.INVOICE_RZLX, rzlx));
if("1".equals(map.get("inAccountStatus"))){
map.put("inAccountStatus","已入账");
}else {
map.put("inAccountStatus","未入账");
}
if (map.get("fillInDate") != null) {
map.put("fillInDate", map.get("fillInDate"));

@ -368,6 +368,11 @@ public class DomesticInvoiceDrawbackServiceImpl implements DomesticInvoiceDrawba
dictdetaServcice.queryDictName(DictConstant.INVOICE_RZLX, result.getAuthenticationType()));
result.setAuthenticationDetailStatus(
dictdetaServcice.queryDictName(DictConstant.AUTH_STATUS_ALL, result.getAuthenticationDetailStatus()));
if ("1".equals(result.getInAccountStatus())){
result.setInAccountStatus("已入账");
}else {
result.setInAccountStatus("未入账");
}
});
if (dto.getCurrentPage() == 1) {
QuerySummaryDTO querySummaryDTO = domesticRecordInvoiceDao.selectTotalAmountByAuthenticationCheck(dto);

@ -107,7 +107,15 @@
rzh_belong_date as rzhBelongDate,
glzt as glzt,
entry_discrepancy as entryDiscrepancy,
dept_name as deptName
dept_name as deptName,
sn_voucher_number as snVoucherNumber,
posting_time as postingTime,
image_id as imageNumber,
account_period as accountPeriod,
bzdh,
bzr,
inaccount_status as inAccountStatus,
comp_code as compCode
from t_dx_customs_record
where
<include refid="queryManualConfirm_mysql"/>
@ -145,7 +153,15 @@
auth_status as authStatus,
confirm_user as confirmUser,
rzh_belong_date as rzhBelongDate,
dept_name as deptName
dept_name as deptName,
sn_voucher_number as snVoucherNumber,
posting_time as postingTime,
image_id as imageNumber,
account_period as accountPeriod,
bzdh,
bzr,
inaccount_status as inAccountStatus,
comp_code as compCode
from t_dx_customs_record
where
<include refid="queryCustomsRefundConfirm_mysql"/>

@ -1502,6 +1502,14 @@
<result column="gx_user_name" jdbcType="VARCHAR" property="authenticationPerson"/>
<result column="rzh_belong_date" jdbcType="VARCHAR" property="taxPeriod"/>
<result column="business_name" jdbcType="VARCHAR" property="businessName"/>
<result column="sn_voucher_number" property="snVoucherNumber"/>
<result column="posting_time" property="postingTime"/>
<result column="image_id" property="imageNumber"/>
<result column="account_period" property="accountPeriod"/>
<result column="bzdh" property="bzdh"/>
<result column="bzr" property="bzr"/>
<result column="inaccount_status" property="inAccountStatus"/>
<result column="comp_code" property="compCode"/>
</resultMap>
<select databaseId="mysql" id="selectByPrimaryKey" parameterType="java.lang.Long"
@ -1688,6 +1696,7 @@
resultMap="authenticationCheckListMap">
select
<include refid="Authentication_Check_Column_List"/>
,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,t.bzdh,t.bzr,t.inaccount_status,t.comp_code
from t_dx_record_invoice t
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{invoiceStartTime} and #{invoiceEndTime}

@ -89,4 +89,23 @@ public class ExtRzjgqdRespVO implements Serializable {
*/
private String dklx;
//凭证号
private String snVoucherNumber;
//账期
private String accountPeriod;
//过账时间
private String postingTime;
//影像号
private String imageNumber;
//报账单号
private String bzdh;
/**
* 组织编码
*/
private String compCode;
private String bzr;
private String inAccountStatus;
}

@ -112,6 +112,12 @@ public class ExtRzjgqdServiceImpl extends MpBaseServiceImpl<ExtRzjgqdDao, ExtRzj
String dklx = resultList.get(i).getDklx();
resultList.get(i).setDklx(dictdetaServcice.queryDictName(DictConstant.FPDK_TYPE,dklx));
if ("1".equals(resultList.get(i).getInAccountStatus())){
resultList.get(i).setInAccountStatus("已入账");
}else {
resultList.get(i).setInAccountStatus("未入账");
}
resultList.get(i).setXh(String.valueOf(start + i));
}
}

@ -16,6 +16,14 @@
<result column="se" property="se"/>
<result column="dkse" property="dkse"/>
<result column="rzrq" property="rzrq"/>
<result column="sn_voucher_number" property="snVoucherNumber"/>
<result column="posting_time" property="postingTime"/>
<result column="image_id" property="imageNumber"/>
<result column="account_period" property="accountPeriod"/>
<result column="bzdh" property="bzdh"/>
<result column="bzr" property="bzr"/>
<result column="inaccount_status" property="inAccountStatus"/>
<result column="comp_code" property="compCode"/>
</resultMap>
<resultMap id="HjxxMap" type="com.dxhy.extend.model.ExtTjbbHjxxVO">
@ -32,6 +40,7 @@
dkse,date_format(t.rzh_date,'%Y-%m-%d') rzrq,
t.invoice_type,
t.rzh_yesorno dklx
,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,t.bzdh,t.bzr,t.inaccount_status,t.comp_code
from t_dx_record_invoice t
where t.invoice_type in ('01','03','08','14','31') and t.auth_status = '4' <!--and rzh_yesorno='1'-->
and t.company = #{company}

Loading…
Cancel
Save