|
|
@@ -1854,6 +1854,7 @@ public class SikuServiceImpl implements SikuService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @Async
|
|
|
@Override
|
|
|
public void invoiceWriteBack6(Map map) {
|
|
|
String formCode = UtilMap.getString(map, "formCode");//单据号
|
|
|
@@ -1950,6 +1951,7 @@ public class SikuServiceImpl implements SikuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Async
|
|
|
@Override
|
|
|
public void invoiceWriteBack7(Map map) {
|
|
|
String formDataCode = UtilMap.getString(map, "formDataCode");//单据类型
|
|
|
@@ -2019,6 +2021,7 @@ public class SikuServiceImpl implements SikuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Async
|
|
|
@Override
|
|
|
public void invoiceWriteBack8(Map map) {
|
|
|
String formCode = UtilMap.getString(map, "formCode");//单据号
|
|
|
@@ -2522,8 +2525,15 @@ public class SikuServiceImpl implements SikuService {
|
|
|
private static Long getMkDateValue(Map formData, String entityName) {
|
|
|
Map title = UtilMap.getMap(formData, entityName);
|
|
|
Map value = UtilMap.getMap(title, "value");
|
|
|
+ String type = UtilMap.getString(title, "type");
|
|
|
|
|
|
- long currentTime = UtilMap.getLong(value, "currentTime");
|
|
|
+ long currentTime = new Date().getTime();
|
|
|
+
|
|
|
+ if ("DateTimeInput".equals(type)){
|
|
|
+ currentTime = UtilMap.getLong(value, "currentTime");
|
|
|
+ }else if ("DateRangeInput".equals(type)){
|
|
|
+ currentTime = UtilMap.getLong(value, "startTime");
|
|
|
+ }
|
|
|
|
|
|
return currentTime;
|
|
|
}
|