|
|
|
@ -10,6 +10,7 @@ import com.dxhy.common.datasource.config.DynamicContextHolder; |
|
|
|
|
import com.dxhy.common.enums.FplxEnum; |
|
|
|
|
import com.dxhy.common.enums.SNFplxEnum; |
|
|
|
|
import com.dxhy.common.util.InvoiceUtil; |
|
|
|
|
import com.dxhy.common.util.StringHelper; |
|
|
|
|
import com.dxhy.common.vo.UserInfo; |
|
|
|
|
import com.dxhy.erp.dao.*; |
|
|
|
|
import com.dxhy.erp.entity.*; |
|
|
|
@ -718,8 +719,14 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
log.info("uuid={}", uuid); |
|
|
|
|
reimburse.setSelectId(uuid); |
|
|
|
|
|
|
|
|
|
reimburse.setTaxRate(invoice.getTaxRate()); |
|
|
|
|
reimburse.setTaxCode(getTaxCode(invoice.getTaxRate())); |
|
|
|
|
if (StringHelper.isNotBlank(invoice.getTaxRate())){ |
|
|
|
|
reimburse.setTaxRate(invoice.getTaxRate()); |
|
|
|
|
reimburse.setTaxCode(getTaxCode(invoice.getTaxRate())); |
|
|
|
|
}else { |
|
|
|
|
reimburse.setTaxRate("0%"); |
|
|
|
|
reimburse.setTaxCode(getTaxCode(reimburse.getTaxRate())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
reimburse.setIsDeduction(invoice.getIsDeductible()); |
|
|
|
|
|
|
|
|
|
if (StringUtils.isNoneBlank(reimburse.getInvoiceCode())) { |
|
|
|
|