diff --git a/src/main/java/com/dev/swms/server/model/customs/CustomsRecord.java b/src/main/java/com/dev/swms/server/model/customs/CustomsRecord.java
index d483445..9e38678 100644
--- a/src/main/java/com/dev/swms/server/model/customs/CustomsRecord.java
+++ b/src/main/java/com/dev/swms/server/model/customs/CustomsRecord.java
@@ -29,7 +29,17 @@ public class CustomsRecord extends Entity{
private Warehouse warehouse;//所属仓库
+ private boolean neworold = false;//是否新旧;0旧备案;1:新备案
+
+ public boolean isNeworold() {
+ return neworold;
+ }
+
+ public void setNeworold(boolean neworold) {
+ this.neworold = neworold;
+ }
+
public String getCountry() {
return country;
}
diff --git a/src/main/java/com/dev/swms/server/model/customs/customsRecord.hbm.xml b/src/main/java/com/dev/swms/server/model/customs/customsRecord.hbm.xml
index 6aaaf63..f6ad2c8 100644
--- a/src/main/java/com/dev/swms/server/model/customs/customsRecord.hbm.xml
+++ b/src/main/java/com/dev/swms/server/model/customs/customsRecord.hbm.xml
@@ -18,6 +18,7 @@
+
diff --git a/src/main/java/com/dev/swms/server/service/customs/CustomsRecordManager.java b/src/main/java/com/dev/swms/server/service/customs/CustomsRecordManager.java
index f43d262..c7a6543 100644
--- a/src/main/java/com/dev/swms/server/service/customs/CustomsRecordManager.java
+++ b/src/main/java/com/dev/swms/server/service/customs/CustomsRecordManager.java
@@ -33,7 +33,7 @@ public interface CustomsRecordManager extends BaseManager{
//海关备案导入
@Transactional
- public void customsRecordImport(File file);
+ public void customsRecordImport(File file,boolean neworold);
//非保项号导入
@Transactional
public void customsNoninsurance(File file);
diff --git a/src/main/java/com/dev/swms/server/service/customs/pojo/DefaultCustomsRecordManager.java b/src/main/java/com/dev/swms/server/service/customs/pojo/DefaultCustomsRecordManager.java
index 2fc4d93..9a8150f 100644
--- a/src/main/java/com/dev/swms/server/service/customs/pojo/DefaultCustomsRecordManager.java
+++ b/src/main/java/com/dev/swms/server/service/customs/pojo/DefaultCustomsRecordManager.java
@@ -118,9 +118,9 @@ public class DefaultCustomsRecordManager extends DefaultBaseManager implements C
}
@Override
- public void customsRecordImport(File file) {
+ public void customsRecordImport(File file,boolean neworold) {
try {
- //项号 商品编码,HSCODE 商品品名 申报单位 法定第一计量单位 法定第二计量单位 规格型号 作废
+ //项号 商品编码,HSCODE 商品品名 申报单位 法定第一计量单位 法定第二计量单位 规格型号 作废 原产国
Workbook workbook = Workbook.getWorkbook(file);
Sheet sheet = workbook.getSheet(0);
for (int i = 1; i
diff --git a/src/webapp/WEB-INF/classes/config/origen/count/bgDetailReportPage.xml b/src/webapp/WEB-INF/classes/config/origen/count/bgDetailReportPage.xml
new file mode 100644
index 0000000..e757ba8
--- /dev/null
+++ b/src/webapp/WEB-INF/classes/config/origen/count/bgDetailReportPage.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/webapp/WEB-INF/classes/config/origen/count/maintainInvoiceBoxPage.xml b/src/webapp/WEB-INF/classes/config/origen/count/maintainInvoiceBoxPage.xml
index deb51dd..073b90f 100644
--- a/src/webapp/WEB-INF/classes/config/origen/count/maintainInvoiceBoxPage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/count/maintainInvoiceBoxPage.xml
@@ -175,7 +175,8 @@
-
+
+
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
index b6e19da..4e1a92f 100644
--- a/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
@@ -4,14 +4,16 @@
+
+
-
+
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
index 05e1c80..5088656 100644
--- a/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
@@ -30,6 +30,8 @@
+
+
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordImportPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordImportPage.xml
new file mode 100644
index 0000000..ea0f7f8
--- /dev/null
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordImportPage.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordPage.xml
new file mode 100644
index 0000000..37f459a
--- /dev/null
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/editNewCustomsRecordPage.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
index 8c94571..725a72b 100644
--- a/src/webapp/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
@@ -30,7 +30,7 @@
left join customsRecord.legalFirstUint
left join customsRecord.legalSecondUint
where 1=1
- and customsRecord.noninsuranceTpey='保税'
+ and customsRecord.noninsuranceTpey='保税'
and customsRecord.warehouse = #{SESSION_WAREHOUSE}
/~customsRecord.code: and upper(customsRecord.code) like upper({customsRecord.code})~/
/~customsRecord.name: and upper(customsRecord.name) like upper({customsRecord.name})~/
diff --git a/src/webapp/WEB-INF/classes/config/origen/customs/maintainNewCustomsRecordPage.xml b/src/webapp/WEB-INF/classes/config/origen/customs/maintainNewCustomsRecordPage.xml
new file mode 100644
index 0000000..c8d2632
--- /dev/null
+++ b/src/webapp/WEB-INF/classes/config/origen/customs/maintainNewCustomsRecordPage.xml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/webapp/WEB-INF/classes/config/origen/menuConfig.xml b/src/webapp/WEB-INF/classes/config/origen/menuConfig.xml
index 3d8564f..059943d 100644
--- a/src/webapp/WEB-INF/classes/config/origen/menuConfig.xml
+++ b/src/webapp/WEB-INF/classes/config/origen/menuConfig.xml
@@ -188,6 +188,7 @@
-
+
+
diff --git a/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml b/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
index b6e19da..4e1a92f 100644
--- a/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
+++ b/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordImportPage.xml
@@ -4,14 +4,16 @@
+
+
-
+
diff --git a/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml b/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
index 05e1c80..5088656 100644
--- a/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
+++ b/target/jjwms/WEB-INF/classes/config/origen/customs/editCustomsRecordPage.xml
@@ -30,6 +30,8 @@
+
+
diff --git a/target/jjwms/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml b/target/jjwms/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
index 8c94571..725a72b 100644
--- a/target/jjwms/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
+++ b/target/jjwms/WEB-INF/classes/config/origen/customs/maintainCustomsRecordPage.xml
@@ -30,7 +30,7 @@
left join customsRecord.legalFirstUint
left join customsRecord.legalSecondUint
where 1=1
- and customsRecord.noninsuranceTpey='保税'
+ and customsRecord.noninsuranceTpey='保税'
and customsRecord.warehouse = #{SESSION_WAREHOUSE}
/~customsRecord.code: and upper(customsRecord.code) like upper({customsRecord.code})~/
/~customsRecord.name: and upper(customsRecord.name) like upper({customsRecord.name})~/
diff --git a/target/jjwms/WEB-INF/classes/config/origen/report/queryBGOrderGWPage.xml b/target/jjwms/WEB-INF/classes/config/origen/report/queryBGOrderGWPage.xml
index d76e686..61bdcfb 100644
--- a/target/jjwms/WEB-INF/classes/config/origen/report/queryBGOrderGWPage.xml
+++ b/target/jjwms/WEB-INF/classes/config/origen/report/queryBGOrderGWPage.xml
@@ -1,7 +1,7 @@
-
+
@@ -13,6 +13,7 @@
WHERE c.disabled=0 and c.codeType='业务类型' and c.name in('进口','出口')
]]>
+