|
@@ -805,19 +805,19 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
logger.info("=========" + "计量检查" + format.format(new Date()));
|
|
|
logger.info(jsonObject.toString());
|
|
|
logger.info("=========" + "计量检查" + format.format(new Date()));
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ try{
|
|
|
+ new Thread( new Runnable() {
|
|
|
+ public void run(){
|
|
|
+ try {
|
|
|
+ newFileTool.newFile(jsonObject.toString(),"计量物流金蝶核对");
|
|
|
+ } catch (IOException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }).start();
|
|
|
+ }catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
|
|
|
int i = tmstruckWeightResultMapper.checkOrderIsSteel(map);
|
|
|
if (i == 0) {
|
|
@@ -828,7 +828,6 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
if (j == 0) {
|
|
|
|
|
|
String isSelfMention = tmstruckWeightResultMapper.getIsSelfMention(map);
|
|
|
- if(isSelfMention != null && isSelfMention.equals("是")) {
|
|
|
|
|
|
BigDecimal jlSaleOrderMaterialId = tmstruckWeightResultMapper.getJlSaleOrderMaterialId(map);
|
|
|
BigDecimal wlSaleOrderMaterialId = tmstruckWeightResultMapper.getWlSaleOrderMaterialId(map);
|
|
@@ -857,12 +856,6 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
|
|
|
utilsService.pushMesToWebsocket((String) map.get("carNo"), "计量");
|
|
|
return false;
|
|
|
- }else {
|
|
|
-
|
|
|
- tmstruckWeightResultMapper.updateOmsRedQrCode(map);
|
|
|
- utilsService.pushMesToWebsocket((String) map.get("carNo"), "计量");
|
|
|
- return false;
|
|
|
- }
|
|
|
}else{
|
|
|
return true;
|
|
|
}
|