|
@@ -47,6 +47,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
import java.io.ByteArrayOutputStream;
|
|
import java.io.ByteArrayOutputStream;
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
|
|
+import java.math.BigDecimal;
|
|
import java.sql.Date;
|
|
import java.sql.Date;
|
|
import java.sql.SQLException;
|
|
import java.sql.SQLException;
|
|
import java.sql.Time;
|
|
import java.sql.Time;
|
|
@@ -325,6 +326,9 @@ public class FormExecuteController {
|
|
if (value instanceof Long) {
|
|
if (value instanceof Long) {
|
|
value = Long.toString((Long) value);
|
|
value = Long.toString((Long) value);
|
|
}
|
|
}
|
|
|
|
+ if (value instanceof BigDecimal) {
|
|
|
|
+ value = value.toString();
|
|
|
|
+ }
|
|
if (value instanceof Date) {
|
|
if (value instanceof Date) {
|
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
// 将Date对象格式化为字符串
|
|
// 将Date对象格式化为字符串
|