|
@@ -118,6 +118,28 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
* @return
|
|
|
*/
|
|
|
public String addTruckWeightResult(Map<String, Object> map) {
|
|
|
+
|
|
|
+ Map<String, Object> oneMap = utilsMapper.getOrderTypeByOrderNumber((String) map.get("orderNumber"));
|
|
|
+ if(oneMap == null){
|
|
|
+ return map.get("orderNumber") + "系统无此订单";
|
|
|
+ }
|
|
|
+ Integer orderType= DataChange.dataToBigDecimal(oneMap.get("orderType")).intValue();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
Map<String, Object> stringObjectMap = tmstruckWeightResultMapper.selectWeightIdByOrderId(map);
|
|
|
if(stringObjectMap == null){
|
|
@@ -137,7 +159,6 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
|
|
|
if(map.get("needCheckToKD") != null){
|
|
|
if(map.get("resultNetWeight") != null){
|
|
|
- Integer orderType = DataChange.dataToBigDecimal(stringObjectMap.get("orderTypee")).intValue();
|
|
|
Object resultCrossWeightTime = map.get("resultCrossWeightTime");
|
|
|
if ( orderType == 6 && resultCrossWeightTime != null && !"".equals(resultCrossWeightTime)) {
|
|
|
String resultNetWeight = String.valueOf(map.get("resultNetWeight"));
|
|
@@ -362,6 +383,17 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ * @Author TXF
|
|
|
+ * @Date 2022/2/18 9:55
|
|
|
+ * @param tmstruckWeightResult
|
|
|
+ * @param map
|
|
|
+ * @return
|
|
|
+ **/
|
|
|
+ public void insertWeightResultBy11(TmstruckWeightResult tmstruckWeightResult, Map<String, Object> map){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
* 添加火车计量实绩
|
|
|
* @param map
|