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