소스 검색

导出改动

huxy 2 년 전
부모
커밋
9cb14e1df2

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/spapl/controller/SyPreAssembledPackingListController.java

@@ -840,7 +840,7 @@ public class SyPreAssembledPackingListController extends JeecgController<SyPreAs
                                                         HttpServletResponse response,
                                                         SyPreAssembledPackingListVo syPreAssembledPackingListVo,
                                                         String [] ids,
-                                                        String selectAll,
+                                                        @RequestParam(defaultValue="1")String selectAll,
                                                         String stratDate,
                                                         String endDate ) {
         QueryWrapper<SyPreAssembledPackingListVo> queryWrapper =new QueryWrapper<>();//初始化
@@ -950,7 +950,7 @@ public class SyPreAssembledPackingListController extends JeecgController<SyPreAs
                                                         SyPreAssembledPackingListVo syPreAssembledPackingListVo,
                                                         String stratDate,
                                                         String [] ids,
-                                                        String selectAll,
+                                                        @RequestParam(defaultValue="1")  String selectAll,
                                                         String endDate){
         QueryWrapper queryWrapper =new QueryWrapper<>();//初始化
         queryWrapper.eq("a.del_flag","0");//默认查询未删除
@@ -1089,7 +1089,7 @@ public class SyPreAssembledPackingListController extends JeecgController<SyPreAs
                                                         String stratDate,
                                                         String endDate,
                                                         String ids,
-                                                        String selectAll,
+                                                        @RequestParam(defaultValue="1") String selectAll,
                                                         String status) {
         status="1";
         long startTime = System.currentTimeMillis();

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/controller/SyPackingListFabricController.java

@@ -840,7 +840,7 @@ public class SyPackingListFabricController {
 	 @RequestMapping(value = "/exportXls")
 	 public Result<SyPackingListFabric> exportXls(HttpServletRequest request,HttpServletResponse response,
 												  String [] ids,
-												  String selectAll,
+												  @RequestParam(defaultValue="1") String selectAll,
 												  SyPackingListFabric syPackingListFabric) {
 		 long startTime = System.currentTimeMillis();
 		 System.out.println("开始导出");

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/controller/SyPackingListTailoringController.java

@@ -545,7 +545,7 @@ public class SyPackingListTailoringController {
 													  SyPackingListTailoringVo syPackingListTailoringVo,
 													  String stratDate,
 													  String [] ids,
-													  String selectAll,
+													  @RequestParam(defaultValue="1") String selectAll,
 													  String endDate) {
 		 String token = request.getHeader("X-Access-Token");//获取token
 		 String userName=JwtUtil.getUsername(token);