md
This commit is contained in:
parent
15aaa54da5
commit
c07b335bc7
@ -133,7 +133,8 @@ public class EmisSettleInvoiceChRecordServiceImpl implements IEmisSettleInvoiceC
|
||||
// 渠道待发送
|
||||
newApply.setOpenChStatus("0");
|
||||
|
||||
if(emisSettleInvoiceChRecord.getParams().containsKey("isManual")){
|
||||
// 如果是手工开票则直接设定为开票成功
|
||||
if("9".equals(emisSettleInvoiceChRecord.getInvoiceType())){
|
||||
// 设定为已开票
|
||||
newApply.setInvoiceStatus("2");
|
||||
newApply.setOpenChStatus("2");
|
||||
|
||||
@ -220,7 +220,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectWaitQueryStatusList" parameterType="String" resultMap="EmisSettleInvoiceChRecordResult">
|
||||
select id, req_no, apply_seq_no, bl_ecinv, invoice_type, real_invoice_type, company_name, company_tax_no, company_tel, company_address, bank_name, bank_acc_no, contact, phone, tax_rate, open_money, email, saler_company_name, saler_company_tax_no, saler_company_tel, saler_company_address, saler_bank_name, saler_bank_acc_no, saler_contact, saler_phone, saler_checker, saler_payee, invoice_no, file_path, qr_path, op_man_code, op_date, op_site_code, open_ch_id, open_ch_status, open_ch_status_desc, open_com_code, ext_data, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_settle_invoice_ch_record a
|
||||
where a.del_flag='0' and a.open_ch_status != '2'
|
||||
where a.del_flag='0' and a.open_ch_status != '2' and a.invoice_type !='manual'
|
||||
</select>
|
||||
|
||||
<insert id="insertEmisSettleInvoiceChRecord" parameterType="EmisSettleInvoiceChRecord" useGeneratedKeys="true" keyProperty="id">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user