|
@@ -87,6 +87,7 @@ public class JkxlController extends BaseController {
|
|
|
String id = ftData.getId();
|
|
|
String code = ftData.getCode();
|
|
|
String state = ftData.getState();
|
|
|
+ String type = ftData.getType();
|
|
|
double fee = ftData.getFee();
|
|
|
double total = 0.00;
|
|
|
try {
|
|
@@ -323,6 +324,10 @@ public class JkxlController extends BaseController {
|
|
|
jkxlService.updataDate(jkxlData);
|
|
|
}
|
|
|
}
|
|
|
+ TzData tzData = new TzData();
|
|
|
+ tzData.setType(type);
|
|
|
+ tzData.setId(id);
|
|
|
+ jkxlService.updateFee(tzData);
|
|
|
} catch (Exception e){
|
|
|
addMessage(redirectAttributes, "调整失败");
|
|
|
}
|
|
@@ -330,6 +335,20 @@ public class JkxlController extends BaseController {
|
|
|
return "redirect:/a/jkxl/list?id="+id;
|
|
|
}
|
|
|
|
|
|
+ @RequestMapping("/ddtz")
|
|
|
+ public String ddtz(TzData tzData,Model model,RedirectAttributes redirectAttributes){
|
|
|
+ String id = tzData.getId();
|
|
|
+ String type = tzData.getType();
|
|
|
+ double[] fees = tzData.getFees();
|
|
|
+ try {
|
|
|
+
|
|
|
+ }catch (Exception e){
|
|
|
+ addMessage(redirectAttributes, "调整失败");
|
|
|
+ }
|
|
|
+ addMessage(redirectAttributes, "调整成功");
|
|
|
+ return "redirect:/a/jkxl/list?id="+id;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|