|
@@ -27,6 +27,7 @@ import com.thinkgem.jeesite.modules.yard.service.BayonetService; |
|
@@ -27,6 +27,7 @@ import com.thinkgem.jeesite.modules.yard.service.BayonetService; |
27
|
import com.thinkgem.jeesite.modules.yard.service.YardService;
|
27
|
import com.thinkgem.jeesite.modules.yard.service.YardService;
|
28
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
28
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
29
|
import org.springframework.beans.factory.annotation.Autowired;
|
29
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
30
|
+import org.springframework.beans.factory.annotation.Value;
|
30
|
import org.springframework.stereotype.Controller;
|
31
|
import org.springframework.stereotype.Controller;
|
31
|
import org.springframework.ui.Model;
|
32
|
import org.springframework.ui.Model;
|
32
|
import org.springframework.web.bind.annotation.ModelAttribute;
|
33
|
import org.springframework.web.bind.annotation.ModelAttribute;
|
|
@@ -72,6 +73,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -72,6 +73,7 @@ public class LandBusinesstypeListController extends BaseController { |
72
|
@Autowired
|
73
|
@Autowired
|
73
|
private OfficeService officeService;
|
74
|
private OfficeService officeService;
|
74
|
|
75
|
|
|
|
76
|
+
|
75
|
private static final String TYPE1 = "调拨业务";
|
77
|
private static final String TYPE1 = "调拨业务";
|
76
|
private static final String TYPE2 = "进口提货";
|
78
|
private static final String TYPE2 = "进口提货";
|
77
|
private static final String TYPE3 = "出口送货";
|
79
|
private static final String TYPE3 = "出口送货";
|
|
@@ -270,18 +272,33 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -270,18 +272,33 @@ public class LandBusinesstypeListController extends BaseController { |
270
|
}
|
272
|
}
|
271
|
}
|
273
|
}
|
272
|
flag = true;
|
274
|
flag = true;
|
273
|
- } else {
|
275
|
+ } else {//西-综 分拨 综-西 调拨 4600329012 4600329012
|
274
|
if (TYPE1.equals(landBusinesstypeList.getBusinesstype())) {
|
276
|
if (TYPE1.equals(landBusinesstypeList.getBusinesstype())) {
|
|
|
277
|
+ if(landBusinesstypeList.getStartsatation().equals("4600329012")||landBusinesstypeList.getEndstation().equals("4600329012")){
|
|
|
278
|
+ flag = insertTypeZD(landBusinesstypeList);
|
|
|
279
|
+ }else{
|
275
|
flag = insertType1(landBusinesstypeList);
|
280
|
flag = insertType1(landBusinesstypeList);
|
276
|
}
|
281
|
}
|
|
|
282
|
+
|
|
|
283
|
+ }
|
277
|
if (TYPE2.equals(landBusinesstypeList.getBusinesstype())) {
|
284
|
if (TYPE2.equals(landBusinesstypeList.getBusinesstype())) {
|
278
|
flag = insertType2(landBusinesstypeList);
|
285
|
flag = insertType2(landBusinesstypeList);
|
279
|
}
|
286
|
}
|
280
|
if (TYPE3.equals(landBusinesstypeList.getBusinesstype())) {
|
287
|
if (TYPE3.equals(landBusinesstypeList.getBusinesstype())) {
|
|
|
288
|
+ if(landBusinesstypeList.getStartsatation().equals("4600329012")||landBusinesstypeList.getEndstation().equals("4600329012")){
|
|
|
289
|
+ if(landBusinesstypeList.getIsthree().equals("0")){
|
|
|
290
|
+ flag = insertTypeZE(landBusinesstypeList);
|
|
|
291
|
+ }else{
|
|
|
292
|
+ flag = insertTypeZE2(landBusinesstypeList);
|
|
|
293
|
+ }
|
|
|
294
|
+
|
|
|
295
|
+ }else{
|
281
|
flag = insertType3(landBusinesstypeList);
|
296
|
flag = insertType3(landBusinesstypeList);
|
282
|
}
|
297
|
}
|
|
|
298
|
+
|
|
|
299
|
+ }
|
283
|
if (TYPE4.equals(landBusinesstypeList.getBusinesstype())) {
|
300
|
if (TYPE4.equals(landBusinesstypeList.getBusinesstype())) {
|
284
|
- flag = insertType1(landBusinesstypeList);
|
301
|
+ flag = insertType6(landBusinesstypeList);
|
285
|
}
|
302
|
}
|
286
|
}
|
303
|
}
|
287
|
if (flag) {
|
304
|
if (flag) {
|
|
@@ -350,7 +367,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -350,7 +367,7 @@ public class LandBusinesstypeListController extends BaseController { |
350
|
|
367
|
|
351
|
try {
|
368
|
try {
|
352
|
String messageId = dateTimeFormat();
|
369
|
String messageId = dateTimeFormat();
|
353
|
-
|
370
|
+ //String barCode = "abcd";
|
354
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
371
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
355
|
if (barCode.length() < 1 | barCode == null) {
|
372
|
if (barCode.length() < 1 | barCode == null) {
|
356
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
373
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
@@ -460,12 +477,298 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -460,12 +477,298 @@ public class LandBusinesstypeListController extends BaseController { |
460
|
return true;
|
477
|
return true;
|
461
|
|
478
|
|
462
|
}
|
479
|
}
|
|
|
480
|
+ public boolean insertTypeZD(LandBusinesstypeList landBusinesstypeList) {
|
|
|
481
|
+
|
|
|
482
|
+ try {
|
|
|
483
|
+ String messageId = dateTimeFormat();
|
|
|
484
|
+ //String barCode = "abcd";
|
|
|
485
|
+ String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
486
|
+ if (barCode.length() < 1 | barCode == null) {
|
|
|
487
|
+ buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
|
488
|
+ return false;
|
|
|
489
|
+ }
|
|
|
490
|
+ // first entry in
|
|
|
491
|
+ String mainfistList = landBusinesstypeList.getMasterList();
|
|
|
492
|
+ String startport = landBusinesstypeList.getStartport();
|
|
|
493
|
+ String endport = landBusinesstypeList.getEndport();
|
|
|
494
|
+ String startStation = landBusinesstypeList.getStartsatation();
|
|
|
495
|
+ String endStation = landBusinesstypeList.getEndstation();
|
|
|
496
|
+ String isfull = landBusinesstypeList.getIsfull();
|
|
|
497
|
+
|
|
|
498
|
+ landBusinesstypeList.setMassageId(messageId);
|
|
|
499
|
+ landBusinesstypeList.setStartport("");
|
|
|
500
|
+ landBusinesstypeList.setStartsatation("");
|
|
|
501
|
+ landBusinesstypeList.setEndport(startport);
|
|
|
502
|
+ landBusinesstypeList.setEndstation(startStation);
|
|
|
503
|
+ landBusinesstypeList.setMasterList("");
|
|
|
504
|
+ landBusinesstypeList.setProdectTime(new Date());
|
|
|
505
|
+ landBusinesstypeList.setBarcode(barCode);
|
|
|
506
|
+ landBusinesstypeList.setAisle(bayService.findByYardAndName(startStation, "6号卡口-进").getChannel());
|
|
|
507
|
+ landBusinesstypeListService.save(landBusinesstypeList);
|
|
|
508
|
+ insertVm(landBusinesstypeList.getMassageId(), landBusinesstypeList.getTrailerFrameNo(), mainfistList);
|
|
|
509
|
+
|
|
|
510
|
+ // second out
|
|
|
511
|
+ LandBusinesstypeList list = new LandBusinesstypeList();
|
|
|
512
|
+ list.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
513
|
+ list.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
514
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
515
|
+ list.setIsDelete("0");
|
|
|
516
|
+ list.setIsvalid("0");
|
|
|
517
|
+ list.setIsfull(isfull);
|
|
|
518
|
+ list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
519
|
+ list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
520
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
521
|
+ list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
522
|
+ list.setEndport(startport);
|
|
|
523
|
+ list.setEndstation(startStation);
|
|
|
524
|
+ list.setProdectTime(new Date());
|
|
|
525
|
+ list.setMasterList(mainfistList);
|
|
|
526
|
+ list.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
527
|
+ list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
528
|
+ list.setAisle(bayService.findByYardAndName(startStation, "6号卡口-出").getChannel());
|
|
|
529
|
+ list.setTurnoverflag("E");
|
|
|
530
|
+ list.setMassageId(messageId);
|
|
|
531
|
+ list.setBarcode(barCode);
|
|
|
532
|
+ landBusinesstypeListService.save(list);
|
|
|
533
|
+
|
|
|
534
|
+ // third
|
|
|
535
|
+ LandBusinesstypeList list1 = new LandBusinesstypeList();
|
|
|
536
|
+ list1.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
537
|
+ list1.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
538
|
+ list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
539
|
+ list1.setIsDelete("0");
|
|
|
540
|
+ list1.setIsvalid("0");
|
|
|
541
|
+ list1.setIsfull(isfull);
|
|
|
542
|
+ list1.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
543
|
+ list1.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
544
|
+ list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
545
|
+ list1.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
546
|
+ list1.setStartport(startport);
|
|
|
547
|
+ list1.setStartsatation(startStation);
|
|
|
548
|
+ list1.setEndport(endport);
|
|
|
549
|
+ list1.setEndstation(endStation);
|
|
|
550
|
+ list1.setProdectTime(new Date());
|
|
|
551
|
+ list1.setMasterList(mainfistList);
|
|
|
552
|
+ list1.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
553
|
+ list1.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
554
|
+ list1.setAisle(bayService.findByYardAndName(endStation, "1号卡口-进").getChannel());
|
|
|
555
|
+ list1.setTurnoverflag("I");
|
|
|
556
|
+ list1.setMassageId(messageId);
|
|
|
557
|
+ list1.setBarcode(barCode);
|
|
|
558
|
+ landBusinesstypeListService.save(list1);
|
|
|
559
|
+
|
|
|
560
|
+ // four
|
|
|
561
|
+ LandBusinesstypeList list2 = new LandBusinesstypeList();
|
|
|
562
|
+ list2.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
563
|
+ list2.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
564
|
+ list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
565
|
+ list2.setIsDelete("0");
|
|
|
566
|
+ list2.setIsvalid("0");
|
|
|
567
|
+ list2.setIsfull(isfull);
|
|
|
568
|
+ list2.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
569
|
+ list2.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
570
|
+ list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
571
|
+ list2.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
572
|
+ list2.setStartport("");
|
|
|
573
|
+ list2.setStartsatation("");
|
|
|
574
|
+ list2.setStartport(startport);
|
|
|
575
|
+ list2.setStartsatation(startStation);
|
|
|
576
|
+ list2.setEndport(endport);
|
|
|
577
|
+ list2.setEndstation(endStation);
|
|
|
578
|
+ list2.setProdectTime(new Date());
|
|
|
579
|
+ list2.setMasterList("");
|
|
|
580
|
+ list2.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
581
|
+ list2.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
582
|
+ list2.setAisle(bayService.findByYardAndName(endStation, "1号卡口-出").getChannel());
|
|
|
583
|
+ list2.setTurnoverflag("E");
|
|
|
584
|
+ list2.setMassageId(messageId);
|
|
|
585
|
+ list2.setBarcode(barCode);
|
|
|
586
|
+ landBusinesstypeListService.save(list2);
|
|
|
587
|
+
|
|
|
588
|
+
|
|
|
589
|
+
|
|
|
590
|
+ } catch (Exception e) {
|
|
|
591
|
+ e.printStackTrace();
|
|
|
592
|
+ }
|
|
|
593
|
+ return true;
|
|
|
594
|
+
|
|
|
595
|
+ }
|
|
|
596
|
+
|
|
|
597
|
+ public boolean insertType6(LandBusinesstypeList landBusinesstypeList){
|
|
|
598
|
+ try {
|
|
|
599
|
+ String messageId = dateTimeFormat();
|
|
|
600
|
+
|
|
|
601
|
+ String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
602
|
+ //String barCode = "abcd";
|
|
|
603
|
+ if (barCode.length() < 1 | barCode == null) {
|
|
|
604
|
+ buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
|
605
|
+ return false;
|
|
|
606
|
+ }
|
|
|
607
|
+ // first entry in
|
|
|
608
|
+ String mainfistList = landBusinesstypeList.getMasterList();
|
|
|
609
|
+ String startport = landBusinesstypeList.getStartport();
|
|
|
610
|
+ String endport = landBusinesstypeList.getEndport();
|
|
|
611
|
+ String startStation = landBusinesstypeList.getStartsatation();
|
|
|
612
|
+ String endStation = landBusinesstypeList.getEndstation();
|
|
|
613
|
+ String isfull = landBusinesstypeList.getIsfull();
|
|
|
614
|
+
|
|
|
615
|
+ landBusinesstypeList.setMassageId(messageId);
|
|
|
616
|
+ landBusinesstypeList.setStartport("");
|
|
|
617
|
+ landBusinesstypeList.setStartsatation("");
|
|
|
618
|
+ landBusinesstypeList.setEndport(startport);
|
|
|
619
|
+ landBusinesstypeList.setEndstation(startStation);
|
|
|
620
|
+ landBusinesstypeList.setMasterList("");
|
|
|
621
|
+ landBusinesstypeList.setProdectTime(new Date());
|
|
|
622
|
+ landBusinesstypeList.setBarcode(barCode);
|
|
|
623
|
+ landBusinesstypeList.setAisle(bayService.findByYardAndName(startStation, "1号卡口-进").getChannel());
|
|
|
624
|
+ landBusinesstypeListService.save(landBusinesstypeList);
|
|
|
625
|
+ insertVm(landBusinesstypeList.getMassageId(), landBusinesstypeList.getTrailerFrameNo(), mainfistList);
|
|
|
626
|
+
|
|
|
627
|
+ // second out
|
|
|
628
|
+ LandBusinesstypeList list = new LandBusinesstypeList();
|
|
|
629
|
+ list.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
630
|
+ list.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
631
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
632
|
+ list.setIsDelete("0");
|
|
|
633
|
+ list.setIsvalid("0");
|
|
|
634
|
+ list.setIsfull(isfull);
|
|
|
635
|
+ list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
636
|
+ list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
637
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
638
|
+ list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
639
|
+ list.setEndport(startport);
|
|
|
640
|
+ list.setEndstation(startStation);
|
|
|
641
|
+ list.setProdectTime(new Date());
|
|
|
642
|
+ list.setMasterList(mainfistList);
|
|
|
643
|
+ list.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
644
|
+ list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
645
|
+ list.setAisle(bayService.findByYardAndName(startStation, "1号卡口-出").getChannel());
|
|
|
646
|
+ list.setTurnoverflag("E");
|
|
|
647
|
+ list.setMassageId(messageId);
|
|
|
648
|
+ list.setBarcode(barCode);
|
|
|
649
|
+ landBusinesstypeListService.save(list);
|
|
|
650
|
+
|
|
|
651
|
+ // third
|
|
|
652
|
+ LandBusinesstypeList list1 = new LandBusinesstypeList();
|
|
|
653
|
+ list1.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
654
|
+ list1.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
655
|
+ list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
656
|
+ list1.setIsDelete("0");
|
|
|
657
|
+ list1.setIsvalid("0");
|
|
|
658
|
+ list1.setIsfull(isfull);
|
|
|
659
|
+ list1.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
660
|
+ list1.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
661
|
+ list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
662
|
+ list1.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
663
|
+ list1.setStartport(startport);
|
|
|
664
|
+ list1.setStartsatation(startStation);
|
|
|
665
|
+ list1.setEndport(endport);
|
|
|
666
|
+ list1.setEndstation(endStation);
|
|
|
667
|
+ list1.setProdectTime(new Date());
|
|
|
668
|
+ list1.setMasterList(mainfistList);
|
|
|
669
|
+ list1.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
670
|
+ list1.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
671
|
+ list1.setAisle(bayService.findByYardAndName(endStation, "6号卡口-进").getChannel());
|
|
|
672
|
+ list1.setTurnoverflag("I");
|
|
|
673
|
+ list1.setMassageId(messageId);
|
|
|
674
|
+ list1.setBarcode(barCode);
|
|
|
675
|
+ landBusinesstypeListService.save(list1);
|
|
|
676
|
+
|
|
|
677
|
+ // four
|
|
|
678
|
+ LandBusinesstypeList list2 = new LandBusinesstypeList();
|
|
|
679
|
+ list2.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
680
|
+ list2.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
681
|
+ list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
682
|
+ list2.setIsDelete("0");
|
|
|
683
|
+ list2.setIsvalid("0");
|
|
|
684
|
+ list2.setIsfull(isfull);
|
|
|
685
|
+ list2.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
686
|
+ list2.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
687
|
+ list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
688
|
+ list2.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
689
|
+ list2.setStartport("");
|
|
|
690
|
+ list2.setStartsatation("");
|
|
|
691
|
+ list2.setStartport(startport);
|
|
|
692
|
+ list2.setStartsatation(startStation);
|
|
|
693
|
+ list2.setEndport(endport);
|
|
|
694
|
+ list2.setEndstation(endStation);
|
|
|
695
|
+ list2.setProdectTime(new Date());
|
|
|
696
|
+ list2.setMasterList("");
|
|
|
697
|
+ list2.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
698
|
+ list2.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
699
|
+ list2.setAisle(bayService.findByYardAndName(endStation, "6号卡口-出").getChannel());
|
|
|
700
|
+ list2.setTurnoverflag("E");
|
|
|
701
|
+ list2.setMassageId(messageId);
|
|
|
702
|
+ list2.setBarcode(barCode);
|
|
|
703
|
+ landBusinesstypeListService.save(list2);
|
|
|
704
|
+ //five
|
|
|
705
|
+ LandBusinesstypeList list3 = new LandBusinesstypeList();
|
|
|
706
|
+ list3.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
707
|
+ list3.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
708
|
+ list3.setCocode(landBusinesstypeList.getCocode());
|
|
|
709
|
+ list3.setIsDelete("0");
|
|
|
710
|
+ list3.setIsvalid("0");
|
|
|
711
|
+ list3.setIsfull(isfull);
|
|
|
712
|
+ list3.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
713
|
+ list3.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
714
|
+ list3.setCocode(landBusinesstypeList.getCocode());
|
|
|
715
|
+ list3.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
716
|
+ list3.setStartport("");
|
|
|
717
|
+ list3.setStartsatation("");
|
|
|
718
|
+ list3.setStartport(startport);
|
|
|
719
|
+ list3.setStartsatation(startStation);
|
|
|
720
|
+ list3.setEndport(endport);
|
|
|
721
|
+ list3.setEndstation("4612199001");
|
|
|
722
|
+ list3.setProdectTime(new Date());
|
|
|
723
|
+ list3.setMasterList("");
|
|
|
724
|
+ list3.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
725
|
+ list3.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
726
|
+ list3.setAisle("4612031001");
|
|
|
727
|
+ list3.setTurnoverflag("I");
|
|
|
728
|
+ list3.setMassageId(messageId);
|
|
|
729
|
+ list3.setBarcode(barCode);
|
|
|
730
|
+ landBusinesstypeListService.save(list3);
|
|
|
731
|
+ //six
|
|
|
732
|
+ //five
|
|
|
733
|
+ LandBusinesstypeList list4 = new LandBusinesstypeList();
|
|
|
734
|
+ list4.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
735
|
+ list4.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
736
|
+ list4.setCocode(landBusinesstypeList.getCocode());
|
|
|
737
|
+ list4.setIsDelete("0");
|
|
|
738
|
+ list4.setIsvalid("0");
|
|
|
739
|
+ list4.setIsfull(isfull);
|
|
|
740
|
+ list4.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
741
|
+ list4.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
742
|
+ list4.setCocode(landBusinesstypeList.getCocode());
|
|
|
743
|
+ list4.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
744
|
+ list4.setStartport("");
|
|
|
745
|
+ list4.setStartsatation("");
|
|
|
746
|
+ list4.setStartport(startport);
|
|
|
747
|
+ list4.setStartsatation(startStation);
|
|
|
748
|
+ list4.setEndport(endport);
|
|
|
749
|
+ list4.setEndstation("4612199001");
|
|
|
750
|
+ list4.setProdectTime(new Date());
|
|
|
751
|
+ list4.setMasterList("");
|
|
|
752
|
+ list4.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
753
|
+ list4.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
754
|
+ //list4.setAisle(bayService.findByYardAndName(endStation, "内三卡口-出").getChannel());
|
|
|
755
|
+ list4.setAisle("4612030001");
|
|
|
756
|
+ list4.setTurnoverflag("E");
|
|
|
757
|
+ list4.setMassageId(messageId);
|
|
|
758
|
+ list4.setBarcode(barCode);
|
|
|
759
|
+ landBusinesstypeListService.save(list4);
|
|
|
760
|
+
|
|
|
761
|
+ } catch (Exception e) {
|
|
|
762
|
+ e.printStackTrace();
|
|
|
763
|
+ }
|
|
|
764
|
+ return true;
|
|
|
765
|
+ }
|
463
|
|
766
|
|
464
|
public boolean insertType2(LandBusinesstypeList landBusinesstypeList) {
|
767
|
public boolean insertType2(LandBusinesstypeList landBusinesstypeList) {
|
465
|
|
768
|
|
466
|
try {
|
769
|
try {
|
467
|
String messageId = LandBusinesstypeListController.dateTimeFormat();
|
770
|
String messageId = LandBusinesstypeListController.dateTimeFormat();
|
468
|
-
|
771
|
+ //String barCode="abcd";
|
469
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
772
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
470
|
if (barCode.length() < 1 | barCode == null) {
|
773
|
if (barCode.length() < 1 | barCode == null) {
|
471
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
774
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
@@ -501,7 +804,16 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -501,7 +804,16 @@ public class LandBusinesstypeListController extends BaseController { |
501
|
list.setMasterList(mainfistList);
|
804
|
list.setMasterList(mainfistList);
|
502
|
list.setDriverid(landBusinesstypeList.getDriverid());
|
805
|
list.setDriverid(landBusinesstypeList.getDriverid());
|
503
|
list.setDrivername(landBusinesstypeList.getDrivername());
|
806
|
list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
807
|
+ if("4604333311".equals(landBusinesstypeList.getAisle())){
|
|
|
808
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
809
|
+ }else if("4604333321".equals(landBusinesstypeList.getAisle())){
|
|
|
810
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "2号卡口-出").getChannel());
|
|
|
811
|
+ }else if("4604444411".equals(landBusinesstypeList.getAisle())){
|
|
|
812
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
813
|
+ }else{
|
504
|
list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
814
|
list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
815
|
+ }
|
|
|
816
|
+
|
505
|
list.setTurnoverflag("E");
|
817
|
list.setTurnoverflag("E");
|
506
|
list.setMassageId(messageId);
|
818
|
list.setMassageId(messageId);
|
507
|
list.setBarcode(barCode);
|
819
|
list.setBarcode(barCode);
|
|
@@ -517,7 +829,7 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -517,7 +829,7 @@ public class LandBusinesstypeListController extends BaseController { |
517
|
try {
|
829
|
try {
|
518
|
|
830
|
|
519
|
String messageId = LandBusinesstypeListController.dateTimeFormat();
|
831
|
String messageId = LandBusinesstypeListController.dateTimeFormat();
|
520
|
-
|
832
|
+ //String barCode="abcd";
|
521
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
833
|
String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
522
|
if (barCode.length() < 1 | barCode == null) {
|
834
|
if (barCode.length() < 1 | barCode == null) {
|
523
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
835
|
buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
@@ -551,7 +863,172 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -551,7 +863,172 @@ public class LandBusinesstypeListController extends BaseController { |
551
|
list.setMasterList("");
|
863
|
list.setMasterList("");
|
552
|
list.setDriverid(landBusinesstypeList.getDriverid());
|
864
|
list.setDriverid(landBusinesstypeList.getDriverid());
|
553
|
list.setDrivername(landBusinesstypeList.getDrivername());
|
865
|
list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
866
|
+ if("4604333311".equals(landBusinesstypeList.getAisle())){
|
554
|
list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
867
|
list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
868
|
+ }else if("4604333321".equals(landBusinesstypeList.getAisle())){
|
|
|
869
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "2号卡口-出").getChannel());
|
|
|
870
|
+ }else if("4604444411".equals(landBusinesstypeList.getAisle())){
|
|
|
871
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
872
|
+ }else{
|
|
|
873
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "1号卡口-出").getChannel());
|
|
|
874
|
+ }
|
|
|
875
|
+ list.setTurnoverflag("E");
|
|
|
876
|
+ list.setMassageId(messageId);
|
|
|
877
|
+ list.setBarcode(barCode);
|
|
|
878
|
+ landBusinesstypeListService.save(list);
|
|
|
879
|
+
|
|
|
880
|
+ } catch (Exception e) {
|
|
|
881
|
+ e.printStackTrace();
|
|
|
882
|
+ }
|
|
|
883
|
+ return true;
|
|
|
884
|
+ }
|
|
|
885
|
+ public boolean insertTypeZE(LandBusinesstypeList landBusinesstypeList) {
|
|
|
886
|
+
|
|
|
887
|
+ try {
|
|
|
888
|
+
|
|
|
889
|
+ String messageId = LandBusinesstypeListController.dateTimeFormat();
|
|
|
890
|
+ //String barCode="abcd";
|
|
|
891
|
+ String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
892
|
+ if (barCode.length() < 1 | barCode == null) {
|
|
|
893
|
+ buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
|
894
|
+ return false;
|
|
|
895
|
+ }
|
|
|
896
|
+ // first entry
|
|
|
897
|
+ landBusinesstypeList.setMassageId(messageId);
|
|
|
898
|
+ String mainfistList = landBusinesstypeList.getMasterList();
|
|
|
899
|
+ String isfull = landBusinesstypeList.getIsfull();
|
|
|
900
|
+ landBusinesstypeList.setProdectTime(new Date());
|
|
|
901
|
+ landBusinesstypeList.setBarcode(barCode);
|
|
|
902
|
+ landBusinesstypeListService.save(landBusinesstypeList);
|
|
|
903
|
+ insertVm(landBusinesstypeList.getMassageId(), landBusinesstypeList.getTrailerFrameNo(), mainfistList);
|
|
|
904
|
+ // second
|
|
|
905
|
+ LandBusinesstypeList list = new LandBusinesstypeList();
|
|
|
906
|
+ list.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
907
|
+ list.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
908
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
909
|
+ list.setIsDelete("0");
|
|
|
910
|
+ list.setIsvalid("0");
|
|
|
911
|
+ list.setIsfull(isfull);
|
|
|
912
|
+ list.setIsthree("0");
|
|
|
913
|
+ list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
914
|
+ list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
915
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
916
|
+ list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
917
|
+ list.setStartport(landBusinesstypeList.getStartport());
|
|
|
918
|
+ list.setStartsatation(landBusinesstypeList.getStartsatation());
|
|
|
919
|
+ list.setEndport(landBusinesstypeList.getEndport());
|
|
|
920
|
+ list.setEndstation(landBusinesstypeList.getEndstation());
|
|
|
921
|
+ list.setProdectTime(new Date());
|
|
|
922
|
+ list.setMasterList("");
|
|
|
923
|
+ list.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
924
|
+ list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
925
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "6号卡口-出").getChannel());
|
|
|
926
|
+ list.setTurnoverflag("E");
|
|
|
927
|
+ list.setMassageId(messageId);
|
|
|
928
|
+ list.setBarcode(barCode);
|
|
|
929
|
+ landBusinesstypeListService.save(list);
|
|
|
930
|
+
|
|
|
931
|
+ //five
|
|
|
932
|
+ LandBusinesstypeList list3 = new LandBusinesstypeList();
|
|
|
933
|
+ list3.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
934
|
+ list3.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
935
|
+ list3.setCocode(landBusinesstypeList.getCocode());
|
|
|
936
|
+ list3.setIsDelete("0");
|
|
|
937
|
+ list3.setIsvalid("0");
|
|
|
938
|
+ list3.setIsthree("0");
|
|
|
939
|
+ list3.setIsfull(isfull);
|
|
|
940
|
+ list3.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
941
|
+ list3.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
942
|
+ list3.setCocode(landBusinesstypeList.getCocode());
|
|
|
943
|
+ list3.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
944
|
+ list3.setStartport("");
|
|
|
945
|
+ list3.setStartsatation("");
|
|
|
946
|
+ list3.setEndport("4620");
|
|
|
947
|
+ list3.setEndstation("4612199001");
|
|
|
948
|
+ list3.setProdectTime(new Date());
|
|
|
949
|
+ list3.setMasterList("");
|
|
|
950
|
+ list3.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
951
|
+ list3.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
952
|
+ list3.setAisle("4612031001");
|
|
|
953
|
+ list3.setTurnoverflag("I");
|
|
|
954
|
+ list3.setMassageId(messageId);
|
|
|
955
|
+ list3.setBarcode(barCode);
|
|
|
956
|
+ landBusinesstypeListService.save(list3);
|
|
|
957
|
+ //six
|
|
|
958
|
+ //five
|
|
|
959
|
+ LandBusinesstypeList list4 = new LandBusinesstypeList();
|
|
|
960
|
+ list4.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
961
|
+ list4.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
962
|
+ list4.setCocode(landBusinesstypeList.getCocode());
|
|
|
963
|
+ list4.setIsDelete("0");
|
|
|
964
|
+ list4.setIsvalid("0");
|
|
|
965
|
+ list4.setIsthree("0");
|
|
|
966
|
+ list4.setIsfull(isfull);
|
|
|
967
|
+ list4.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
968
|
+ list4.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
969
|
+ list4.setCocode(landBusinesstypeList.getCocode());
|
|
|
970
|
+ list4.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
971
|
+ list4.setStartport("");
|
|
|
972
|
+ list4.setStartsatation("");
|
|
|
973
|
+ list4.setEndport("4620");
|
|
|
974
|
+ list4.setEndstation("4612199001");
|
|
|
975
|
+ list4.setProdectTime(new Date());
|
|
|
976
|
+ list4.setMasterList("");
|
|
|
977
|
+ list4.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
978
|
+ list4.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
979
|
+ //list4.setAisle(bayService.findByYardAndName(endStation, "内三卡口-出").getChannel());
|
|
|
980
|
+ list4.setAisle("4612030001");
|
|
|
981
|
+ list4.setTurnoverflag("E");
|
|
|
982
|
+ list4.setMassageId(messageId);
|
|
|
983
|
+ list4.setBarcode(barCode);
|
|
|
984
|
+ landBusinesstypeListService.save(list4);
|
|
|
985
|
+
|
|
|
986
|
+ } catch (Exception e) {
|
|
|
987
|
+ e.printStackTrace();
|
|
|
988
|
+ }
|
|
|
989
|
+ return true;
|
|
|
990
|
+ }
|
|
|
991
|
+ public boolean insertTypeZE2(LandBusinesstypeList landBusinesstypeList) {
|
|
|
992
|
+
|
|
|
993
|
+ try {
|
|
|
994
|
+
|
|
|
995
|
+ String messageId = LandBusinesstypeListController.dateTimeFormat();
|
|
|
996
|
+ //String barCode="abcd";
|
|
|
997
|
+ String barCode = buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(), messageId);
|
|
|
998
|
+ if (barCode.length() < 1 | barCode == null) {
|
|
|
999
|
+ buildBarCode.cancleBarCode(landBusinesstypeList.getTrailerFrameNo());
|
|
|
1000
|
+ return false;
|
|
|
1001
|
+ }
|
|
|
1002
|
+ // first entry
|
|
|
1003
|
+ landBusinesstypeList.setMassageId(messageId);
|
|
|
1004
|
+ String mainfistList = landBusinesstypeList.getMasterList();
|
|
|
1005
|
+ String isfull = landBusinesstypeList.getIsfull();
|
|
|
1006
|
+ landBusinesstypeList.setProdectTime(new Date());
|
|
|
1007
|
+ landBusinesstypeList.setBarcode(barCode);
|
|
|
1008
|
+ landBusinesstypeListService.save(landBusinesstypeList);
|
|
|
1009
|
+ insertVm(landBusinesstypeList.getMassageId(), landBusinesstypeList.getTrailerFrameNo(), mainfistList);
|
|
|
1010
|
+ // second
|
|
|
1011
|
+ LandBusinesstypeList list = new LandBusinesstypeList();
|
|
|
1012
|
+ list.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
1013
|
+ list.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
1014
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
1015
|
+ list.setIsDelete("0");
|
|
|
1016
|
+ list.setIsvalid("0");
|
|
|
1017
|
+ list.setIsthree("1");
|
|
|
1018
|
+ list.setIsfull(isfull);
|
|
|
1019
|
+ list.setTrailerLicenseNo(landBusinesstypeList.getTrailerLicenseNo());
|
|
|
1020
|
+ list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
1021
|
+ list.setCocode(landBusinesstypeList.getCocode());
|
|
|
1022
|
+ list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
1023
|
+ list.setStartport(landBusinesstypeList.getStartport());
|
|
|
1024
|
+ list.setStartsatation(landBusinesstypeList.getStartsatation());
|
|
|
1025
|
+ list.setEndport(landBusinesstypeList.getEndport());
|
|
|
1026
|
+ list.setEndstation(landBusinesstypeList.getEndstation());
|
|
|
1027
|
+ list.setProdectTime(new Date());
|
|
|
1028
|
+ list.setMasterList("");
|
|
|
1029
|
+ list.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
1030
|
+ list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
1031
|
+ list.setAisle(bayService.findByYardAndName(landBusinesstypeList.getEndstation(), "6号卡口-出").getChannel());
|
555
|
list.setTurnoverflag("E");
|
1032
|
list.setTurnoverflag("E");
|
556
|
list.setMassageId(messageId);
|
1033
|
list.setMassageId(messageId);
|
557
|
list.setBarcode(barCode);
|
1034
|
list.setBarcode(barCode);
|
|
@@ -563,81 +1040,6 @@ public class LandBusinesstypeListController extends BaseController { |
|
@@ -563,81 +1040,6 @@ public class LandBusinesstypeListController extends BaseController { |
563
|
return true;
|
1040
|
return true;
|
564
|
}
|
1041
|
}
|
565
|
|
1042
|
|
566
|
- /*
|
|
|
567
|
- * public void insertType1(LandBusinesstypeList landBusinesstypeList) { //first
|
|
|
568
|
- * entry in String messageId = LandBusinesstypeListController.dateTimeFormat();
|
|
|
569
|
- * String mainfistList = landBusinesstypeList.getMasterList(); String startport
|
|
|
570
|
- * = landBusinesstypeList.getStartport(); String endport =
|
|
|
571
|
- * landBusinesstypeList.getEndport(); String startStation =
|
|
|
572
|
- * landBusinesstypeList.getStartsatation(); String endStation =
|
|
|
573
|
- * landBusinesstypeList.getEndstation(); String isfull =
|
|
|
574
|
- * landBusinesstypeList.getIsfull();
|
|
|
575
|
- * landBusinesstypeList.setMassageId(messageId); String barCode =
|
|
|
576
|
- * buildBarCode.CreateBarCode(landBusinesstypeList.getTrailerFrameNo(),messageId
|
|
|
577
|
- * ); landBusinesstypeList.setStartport("");
|
|
|
578
|
- * landBusinesstypeList.setStartsatation("");
|
|
|
579
|
- * landBusinesstypeList.setEndport(startport);
|
|
|
580
|
- * landBusinesstypeList.setEndstation(startStation);
|
|
|
581
|
- * landBusinesstypeList.setBarcode(barCode);
|
|
|
582
|
- * landBusinesstypeList.setMasterList("");
|
|
|
583
|
- * landBusinesstypeList.setProdectTime(new Date());
|
|
|
584
|
- * landBusinesstypeList.setAisle(bayService.findByYardAndName(startStation,
|
|
|
585
|
- * "1号卡口-进").getChannel());
|
|
|
586
|
- * landBusinesstypeListService.save(landBusinesstypeList);
|
|
|
587
|
- * insertVm(landBusinesstypeList.getMassageId(),landBusinesstypeList.
|
|
|
588
|
- * getTrailerFrameNo(),mainfistList);
|
|
|
589
|
- *
|
|
|
590
|
- * //second out LandBusinesstypeList list = new LandBusinesstypeList();
|
|
|
591
|
- * list.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
592
|
- * list.setAgentno(landBusinesstypeList.getAgentno()); list.setBarcode(barCode);
|
|
|
593
|
- * list.setIsDelete("0"); list.setIsvalid("0"); list.setIsfull(isfull);
|
|
|
594
|
- * list.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
595
|
- * list.setCocode(landBusinesstypeList.getCocode());
|
|
|
596
|
- * list.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
597
|
- * list.setEndport(startport); list.setEndstation(startStation);
|
|
|
598
|
- * list.setProdectTime(new Date()); list.setMasterList(mainfistList);
|
|
|
599
|
- * list.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
600
|
- * list.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
601
|
- * list.setAisle(bayService.findByYardAndName(startStation,
|
|
|
602
|
- * "1号卡口-出").getChannel()); list.setTurnoverflag("E");
|
|
|
603
|
- * list.setMassageId(messageId); landBusinesstypeListService.save(list);
|
|
|
604
|
- *
|
|
|
605
|
- * //third LandBusinesstypeList list1 = new LandBusinesstypeList();
|
|
|
606
|
- * list1.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
607
|
- * list1.setAgentno(landBusinesstypeList.getAgentno()); list1.setIsDelete("0");
|
|
|
608
|
- * list1.setIsvalid("0"); list1.setIsfull(isfull); list1.setBarcode(barCode);
|
|
|
609
|
- * list1.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
610
|
- * list1.setCocode(landBusinesstypeList.getCocode());
|
|
|
611
|
- * list1.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
612
|
- * list1.setStartport(startport); list1.setStartsatation(startStation);
|
|
|
613
|
- * list1.setEndport(endport); list1.setEndstation(endStation);
|
|
|
614
|
- * list1.setProdectTime(new Date()); list1.setMasterList(mainfistList);
|
|
|
615
|
- * list1.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
616
|
- * list1.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
617
|
- * list1.setAisle(bayService.findByYardAndName(endStation,
|
|
|
618
|
- * "1号卡口-进").getChannel()); list1.setTurnoverflag("I");
|
|
|
619
|
- * list1.setMassageId(messageId); landBusinesstypeListService.save(list1);
|
|
|
620
|
- *
|
|
|
621
|
- * //four LandBusinesstypeList list2 = new LandBusinesstypeList();
|
|
|
622
|
- * list2.setAgentname(landBusinesstypeList.getAgentname());
|
|
|
623
|
- * list2.setAgentno(landBusinesstypeList.getAgentno());
|
|
|
624
|
- * list2.setBarcode(barCode); list2.setIsDelete("0"); list2.setIsvalid("0");
|
|
|
625
|
- * list2.setIsfull(isfull);
|
|
|
626
|
- * list2.setBusinesstype(landBusinesstypeList.getBusinesstype());
|
|
|
627
|
- * list2.setCocode(landBusinesstypeList.getCocode());
|
|
|
628
|
- * list2.setTrailerFrameNo(landBusinesstypeList.getTrailerFrameNo());
|
|
|
629
|
- * list2.setStartport(""); list2.setStartsatation("");
|
|
|
630
|
- * list2.setStartport(startport); list2.setStartsatation(startStation);
|
|
|
631
|
- * list2.setEndport(endport); list2.setEndstation(endStation);
|
|
|
632
|
- * list2.setProdectTime(new Date()); list2.setMasterList("");
|
|
|
633
|
- * list2.setDriverid(landBusinesstypeList.getDriverid());
|
|
|
634
|
- * list2.setDrivername(landBusinesstypeList.getDrivername());
|
|
|
635
|
- * list2.setAisle(bayService.findByYardAndName(endStation,
|
|
|
636
|
- * "1号卡口-出").getChannel()); list2.setTurnoverflag("E");
|
|
|
637
|
- * list2.setMassageId(messageId); landBusinesstypeListService.save(list2);
|
|
|
638
|
- *
|
|
|
639
|
- * }
|
|
|
640
|
- */
|
|
|
641
|
public static String dateTimeFormat() {
|
1043
|
public static String dateTimeFormat() {
|
642
|
Date dateTime = new Date();
|
1044
|
Date dateTime = new Date();
|
643
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
1045
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|