正在显示
100 个修改的文件
包含
18 行增加
和
13 行删除
log4jimf.properties
100644 → 100755
pom.xml
100644 → 100755
src/main/java/billcheckservice/BillCheckService.java
100644 → 100755
src/main/java/billcheckservice/BillCheckServiceProxy.java
100644 → 100755
src/main/java/billcheckservice/BillCheckServiceService.java
100644 → 100755
src/main/java/billcheckservice/Main.java
100644 → 100755
src/main/java/billcheckservice/QueryData.java
100644 → 100755
src/main/java/billcheckservice/ReturnData.java
100644 → 100755
src/main/java/billcheckservice/ReturnRecode.java
100644 → 100755
src/main/java/com/agent/billcheck/BillCheckBean.java
100644 → 100755
src/main/java/com/agent/billcheck/BillTask.java
100644 → 100755
src/main/java/com/agent/billcheck/FeeMap.java
100644 → 100755
src/main/java/com/agent/billcheck/SpringContextKit.java
100644 → 100755
src/main/java/com/agent/controller/BasicController.java
100644 → 100755
src/main/java/com/agent/controller/agent/AgentController.java
100644 → 100755
src/main/java/com/agent/controller/agent/BillController.java
100644 → 100755
src/main/java/com/agent/controller/agent/ManifestController.java
100644 → 100755
@@ -35,10 +35,7 @@ import org.slf4j.Logger; | @@ -35,10 +35,7 @@ import org.slf4j.Logger; | ||
35 | import org.slf4j.LoggerFactory; | 35 | import org.slf4j.LoggerFactory; |
36 | import org.springframework.stereotype.Controller; | 36 | import org.springframework.stereotype.Controller; |
37 | import org.springframework.ui.Model; | 37 | import org.springframework.ui.Model; |
38 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
39 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
40 | -import org.springframework.web.bind.annotation.RequestParam; | ||
41 | -import org.springframework.web.bind.annotation.ResponseBody; | 38 | +import org.springframework.web.bind.annotation.*; |
42 | import org.springframework.web.multipart.MultipartFile; | 39 | import org.springframework.web.multipart.MultipartFile; |
43 | import tools.DBConnection; | 40 | import tools.DBConnection; |
44 | import tools.NumKit; | 41 | import tools.NumKit; |
@@ -770,11 +767,11 @@ public class ManifestController extends BasicController { | @@ -770,11 +767,11 @@ public class ManifestController extends BasicController { | ||
770 | * | 767 | * |
771 | * @return | 768 | * @return |
772 | */ | 769 | */ |
773 | - @RequestMapping(value = "/sub/grid.json") | 770 | + @RequestMapping(value = "/sub/grid.json", method = {RequestMethod.POST}) |
774 | @ResponseBody | 771 | @ResponseBody |
775 | - public DataGrid<PreparesecondaryEntity> gridSub(Long mawbId, HttpServletRequest request) { | 772 | + public DataGrid<PreparesecondaryEntity> gridSub(@RequestParam(value = "mawbId") String mawbId, HttpServletRequest request) { |
776 | DataGrid<PreparesecondaryEntity> dg = new DataGrid<>(); | 773 | DataGrid<PreparesecondaryEntity> dg = new DataGrid<>(); |
777 | - dg.setRows(preparesecondaryServer.findByMawbId(mawbId)); | 774 | + dg.setRows(preparesecondaryServer.findAwb(mawbId)); |
778 | return dg; | 775 | return dg; |
779 | } | 776 | } |
780 | 777 | ||
@@ -1256,7 +1253,7 @@ public class ManifestController extends BasicController { | @@ -1256,7 +1253,7 @@ public class ManifestController extends BasicController { | ||
1256 | * @param manifest | 1253 | * @param manifest |
1257 | * @return | 1254 | * @return |
1258 | */ | 1255 | */ |
1259 | - @RequestMapping(value = "/f5f5669bbdecefd3dacfaba194647c35", method = { RequestMethod.POST }) | 1256 | + @RequestMapping(value = "/f5f5669bbdecefd3dacfaba194647c35", method = { RequestMethod.POST}) |
1260 | @ResponseBody | 1257 | @ResponseBody |
1261 | public ResponseModel savesenManifest(ManifestEntity manifest, HttpServletRequest request, HttpServletResponse response) { | 1258 | public ResponseModel savesenManifest(ManifestEntity manifest, HttpServletRequest request, HttpServletResponse response) { |
1262 | 1259 | ||
@@ -1411,7 +1408,8 @@ public class ManifestController extends BasicController { | @@ -1411,7 +1408,8 @@ public class ManifestController extends BasicController { | ||
1411 | manifest.setResponse_code(String.valueOf(type.getValue())); | 1408 | manifest.setResponse_code(String.valueOf(type.getValue())); |
1412 | manifest.setResponse_text(type.getName()); | 1409 | manifest.setResponse_text(type.getName()); |
1413 | manifest.setSave_time(System.currentTimeMillis()); | 1410 | manifest.setSave_time(System.currentTimeMillis()); |
1414 | - | 1411 | + manifest.setSh_name(manifest.getSh_company()); |
1412 | + manifest.setCo_name(manifest.getCo_company()); | ||
1415 | manifest.setDe_trstation(""); | 1413 | manifest.setDe_trstation(""); |
1416 | manifest.setDe_packing(""); | 1414 | manifest.setDe_packing(""); |
1417 | manifest.setDe_remarks(""); | 1415 | manifest.setDe_remarks(""); |
@@ -1423,11 +1421,13 @@ public class ManifestController extends BasicController { | @@ -1423,11 +1421,13 @@ public class ManifestController extends BasicController { | ||
1423 | return model; | 1421 | return model; |
1424 | } | 1422 | } |
1425 | }else { | 1423 | }else { |
1426 | - PreparesecondaryEntity pe = new PreparesecondaryEntity(); | ||
1427 | 1424 | ||
1425 | + PreparesecondaryEntity pe = new PreparesecondaryEntity(); | ||
1428 | // 查看主单号 | 1426 | // 查看主单号 |
1429 | if (manifest.getWaybillnomaster().contains("-")) { | 1427 | if (manifest.getWaybillnomaster().contains("-")) { |
1430 | 1428 | ||
1429 | + pe.setWaybillnomaster(manifest.getWaybillnomaster()); | ||
1430 | + | ||
1431 | } else { | 1431 | } else { |
1432 | StringBuilder stringBuilder = new StringBuilder(manifest.getWaybillnomaster()); | 1432 | StringBuilder stringBuilder = new StringBuilder(manifest.getWaybillnomaster()); |
1433 | 1433 | ||
@@ -1460,6 +1460,7 @@ public class ManifestController extends BasicController { | @@ -1460,6 +1460,7 @@ public class ManifestController extends BasicController { | ||
1460 | pe.setCustomscode(manifest.getCustomscode()); | 1460 | pe.setCustomscode(manifest.getCustomscode()); |
1461 | pe.setProductname(manifest.getProductname()); | 1461 | pe.setProductname(manifest.getProductname()); |
1462 | pe.setCo_company(manifest.getCo_company()); | 1462 | pe.setCo_company(manifest.getCo_company()); |
1463 | + pe.setCo_name(manifest.getCo_company()); | ||
1463 | pe.setCo_address(manifest.getCo_address()); | 1464 | pe.setCo_address(manifest.getCo_address()); |
1464 | pe.setShpcusid(manifest.getShpcusid()); | 1465 | pe.setShpcusid(manifest.getShpcusid()); |
1465 | 1466 | ||
@@ -1470,6 +1471,7 @@ public class ManifestController extends BasicController { | @@ -1470,6 +1471,7 @@ public class ManifestController extends BasicController { | ||
1470 | } | 1471 | } |
1471 | pe.setCo_country(manifest.getCo_country()); | 1472 | pe.setCo_country(manifest.getCo_country()); |
1472 | pe.setSh_company(manifest.getSh_company()); | 1473 | pe.setSh_company(manifest.getSh_company()); |
1474 | + pe.setSh_name(manifest.getSh_company()); | ||
1473 | pe.setSh_address(manifest.getSh_address()); | 1475 | pe.setSh_address(manifest.getSh_address()); |
1474 | pe.setCnecusid(manifest.getCnecusid()); | 1476 | pe.setCnecusid(manifest.getCnecusid()); |
1475 | pe.setSh_country(manifest.getSh_country()); | 1477 | pe.setSh_country(manifest.getSh_country()); |
@@ -1483,7 +1485,7 @@ public class ManifestController extends BasicController { | @@ -1483,7 +1485,7 @@ public class ManifestController extends BasicController { | ||
1483 | pe.setSh_city(manifest.getSh_city()); | 1485 | pe.setSh_city(manifest.getSh_city()); |
1484 | pe.setUSER_ID(manifest.getUSER_ID()); | 1486 | pe.setUSER_ID(manifest.getUSER_ID()); |
1485 | pe.setReach_station(manifest.getReach_station()); | 1487 | pe.setReach_station(manifest.getReach_station()); |
1486 | - | 1488 | + pe.setSave_time(System.currentTimeMillis()); |
1487 | int i = preparesecondaryServer.findAwbAwbH(pe.getWaybillnomaster(), pe.getWaybillnosecondary()); | 1489 | int i = preparesecondaryServer.findAwbAwbH(pe.getWaybillnomaster(), pe.getWaybillnosecondary()); |
1488 | 1490 | ||
1489 | if (i > 0){ | 1491 | if (i > 0){ |
@@ -1493,10 +1495,12 @@ public class ManifestController extends BasicController { | @@ -1493,10 +1495,12 @@ public class ManifestController extends BasicController { | ||
1493 | return model; | 1495 | return model; |
1494 | 1496 | ||
1495 | }else { | 1497 | }else { |
1496 | - preparesecondaryServer.save(pe); | ||
1497 | - model.setData(manifest); | 1498 | + |
1499 | + PreparesecondaryEntity save = preparesecondaryServer.save(pe); | ||
1500 | + model.setData(save); | ||
1498 | model.setStatus(200); | 1501 | model.setStatus(200); |
1499 | model.setMsg(HttpJsonMsg.SUCCESS); | 1502 | model.setMsg(HttpJsonMsg.SUCCESS); |
1503 | + return model; | ||
1500 | } | 1504 | } |
1501 | } | 1505 | } |
1502 | 1506 | ||
@@ -1510,6 +1514,7 @@ public class ManifestController extends BasicController { | @@ -1510,6 +1514,7 @@ public class ManifestController extends BasicController { | ||
1510 | model.setStatus(500); | 1514 | model.setStatus(500); |
1511 | model.setMsg(HttpJsonMsg.ERROR); | 1515 | model.setMsg(HttpJsonMsg.ERROR); |
1512 | logger.error("系统异常 >>", e); | 1516 | logger.error("系统异常 >>", e); |
1517 | + return model; | ||
1513 | } | 1518 | } |
1514 | return model; | 1519 | return model; |
1515 | } | 1520 | } |
src/main/java/com/agent/controller/agent/ReceiptController.java
100644 → 100755
src/main/java/com/agent/controller/agent/ShuntController.java
100644 → 100755
src/main/java/com/agent/controller/agent/TrackingController.java
100644 → 100755
src/main/java/com/agent/controller/system/CaptchaController.java
100644 → 100755
src/main/java/com/agent/controller/system/CargoController.java
100644 → 100755
src/main/java/com/agent/controller/system/HttpUtil.java
100644 → 100755
src/main/java/com/agent/controller/system/HzInfoController.java
100644 → 100755
src/main/java/com/agent/controller/system/LayoutController.java
100644 → 100755
src/main/java/com/agent/controller/system/LoginController.java
100644 → 100755
src/main/java/com/agent/controller/system/RoleController.java
100644 → 100755
src/main/java/com/agent/controller/system/UserController.java
100644 → 100755
src/main/java/com/agent/entity/BasicEntity.java
100644 → 100755
src/main/java/com/agent/entity/Constant.java
100644 → 100755
src/main/java/com/agent/entity/IdEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/BasicAgentEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/BillCheckEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/BillCheckFeeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/CargoCountEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ConsigneeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ConsigneeInfo.java
100644 → 100755
src/main/java/com/agent/entity/agent/ConsignorEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/DeliveryDicEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/DeliveryInfoEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/DeliveryorderEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/EnterpriseEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/HZWAYBLLINFOEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/HandleBillEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/HawbOtherFeeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/MakeHawbEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/MakeMawbEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ManifestBillEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ManifestEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/MawbOtherFeeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PackageSizeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PackageTypeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PreparesecondaryEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PubDgEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PubFhrEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/PubStationEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/SDCargoNameEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/SDCargoTypeEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/SecurityManifestEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ShuntBillEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/ShuntEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/SupervisionEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/TBasCarrierEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/WaybillReceiptEntity.java
100644 → 100755
src/main/java/com/agent/entity/agent/WaybillReceiptType.java
100644 → 100755
src/main/java/com/agent/entity/system/FunctionEntity.java
100644 → 100755
src/main/java/com/agent/entity/system/PermissionEntity.java
100644 → 100755
src/main/java/com/agent/entity/system/RoleEntity.java
100644 → 100755
src/main/java/com/agent/entity/system/SDBIGTYPEEntity.java
100644 → 100755
src/main/java/com/agent/entity/system/SDTWOTYPEEntity.java
100644 → 100755
src/main/java/com/agent/entity/system/UserEntity.java
100644 → 100755
src/main/java/com/agent/filter/MyShiroController.java
100644 → 100755
src/main/java/com/agent/jg/JgText.java
100644 → 100755
src/main/java/com/agent/jg/SendApp.java
100644 → 100755
src/main/java/com/agent/listener/StartupListener.java
100644 → 100755
-
请 注册 或 登录 后发表评论