no message
parent
26d3938dee
commit
776d2b09e1
|
|
@ -170,8 +170,8 @@ public class DefaultCustomsRecordManager extends DefaultBaseManager implements C
|
|||
|
||||
//海关备案
|
||||
CustomsRecord customsRecord =null;
|
||||
List<CustomsRecord> CustomsRecords=commonDao.findByQuery(" from CustomsRecord cr where upper(cr.code)=upper(:code) ",
|
||||
new String[]{"code"},new Object[]{code.trim()});
|
||||
List<CustomsRecord> CustomsRecords=commonDao.findByQuery(" from CustomsRecord cr where upper(cr.code)=upper(:code) and cr.hsCode=:hsCode and cr.name=:name and cr.country=:country and cr.neworold=:neworold ",
|
||||
new String[]{"code"},new Object[]{code.trim(),hsCode.trim(),name.trim(),ysc.trim(),neworold});
|
||||
if(CustomsRecords.size()>0){
|
||||
customsRecord=CustomsRecords.get(0);
|
||||
customsRecord.setItemNumber(item_Number);//项号
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<hidden id="invoiceBox.id" reserve="true"/>
|
||||
<list id="invoiceBox.hz_zcbh" title="账册编号" row="1" col="1" span="1" width="125" readOnly="false" required="true" reserve="false" forceOverride="true" >
|
||||
<hql><![CDATA[ SELECT
|
||||
c.code,
|
||||
c.id,
|
||||
c.code
|
||||
FROM CommonCode c
|
||||
WHERE c.disabled=0 and c.codeType='注册编号'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<hidden id="invoiceBox.id" reserve="true"/>
|
||||
<list id="invoiceBox.hz_zcbh" title="账册编号" row="1" col="1" span="1" width="125" readOnly="false" required="true" reserve="false" forceOverride="true" >
|
||||
<hql><![CDATA[ SELECT
|
||||
c.code,
|
||||
c.id,
|
||||
c.code
|
||||
FROM CommonCode c
|
||||
WHERE c.disabled=0 and c.codeType='注册编号'
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<hidden id="invoiceBox.id" reserve="true"/>
|
||||
<list id="invoiceBox.hz_zcbh" title="账册编号" row="1" col="1" span="1" width="125" readOnly="false" required="true" reserve="false" forceOverride="true" >
|
||||
<hql><![CDATA[ SELECT
|
||||
c.code,
|
||||
c.id,
|
||||
c.code
|
||||
FROM CommonCode c
|
||||
WHERE c.disabled=0 and c.codeType='注册编号'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<hidden id="invoiceBox.id" reserve="true"/>
|
||||
<list id="invoiceBox.hz_zcbh" title="账册编号" row="1" col="1" span="1" width="125" readOnly="false" required="true" reserve="false" forceOverride="true" >
|
||||
<hql><![CDATA[ SELECT
|
||||
c.code,
|
||||
c.id,
|
||||
c.code
|
||||
FROM CommonCode c
|
||||
WHERE c.disabled=0 and c.codeType='注册编号'
|
||||
|
|
|
|||
Loading…
Reference in New Issue