Commit e6afb167 authored by sherlock's avatar sherlock

JXFP RZJG 1 success 2 failed

parent 1055afa6
......@@ -34,11 +34,11 @@ public class InputInvoiceDao {
}
if (StringUtils.isNotBlank(notPass)) {
String unPass = "1";
String unPass = "2";
criteria.andRZJGEqualTo(unPass);
// criteria1.andRZJGEqualTo(unPass);
} else if (StringUtils.isNotBlank(checkPass) && StringUtils.isNotBlank(scanPass)) {
String pass = "0";
String pass = "1";
criteria.andRZJGEqualTo(pass);
// criteria1.andRZJGEqualTo(pass);
// example.or(criteria1);
......
......@@ -37,7 +37,7 @@ import java.util.stream.Collectors;
/// </summary>
/// <param name="certificationPeriod">认证期间:“0”当期(当月),“-99”前期(当月之前所有月份,不含当月),"99"所有认证期间</param>
/// <param name="invoiceType">“1”增值税专票,“2”货运发票,“3”机动车发票,“4”农产品发票,“5”其他发票(包括空值)</param>
/// <param name="authenticationType">认证结果:“1”认证通过;“0”认证未通过;“2”未认证</param>
/// <param name="authenticationType">认证结果:“1”认证通过;“2”未认证</param>“0”认证未通过;
/// <param name="resultType">计算取值:“0”金额;“1”税额;“2”份数;</param>
/// <param name="period">会计期间——“0”当期,1-12为自然月</param>
/// <returns></returns>
......@@ -95,7 +95,7 @@ public class JXFP extends FunctionBase implements FreeRefFunction {
null);
}
// 认证未通过与未认证暂认为是同一个意思
else if ((authenticationType == 1 || authenticationType == 2) && formulaContext.getIsYear()) {
else if (authenticationType == 2 && formulaContext.getIsYear()) {
inputInvoices = SpringContextUtil.inputInvoiceDao.getInputInvoice(null, invoiceType,
null, null, Constant.InputInvoiceCertificationResult.NotPass);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment