|
@@ -15,6 +15,7 @@ import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.ui.Model;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
@@ -336,11 +337,17 @@ public class JkxlController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping("/ddtz")
|
|
@RequestMapping("/ddtz")
|
|
- public String ddtz(TzData tzData,Model model,RedirectAttributes redirectAttributes){
|
|
|
|
|
|
+ public String ddtz(@RequestBody TzData tzData, Model model, RedirectAttributes redirectAttributes){
|
|
String id = tzData.getId();
|
|
String id = tzData.getId();
|
|
String type = tzData.getType();
|
|
String type = tzData.getType();
|
|
- double[] fees = tzData.getFees();
|
|
|
|
|
|
+ double fee = tzData.getFee();
|
|
|
|
+ List<JkxlData> list = tzData.getJkxlData();
|
|
|
|
+ List<JkxlData> lists = jkxlService.getList(id);
|
|
|
|
+
|
|
try {
|
|
try {
|
|
|
|
+ for (JkxlData jkxlData: list){
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
addMessage(redirectAttributes, "调整失败");
|
|
addMessage(redirectAttributes, "调整失败");
|