后端升级到2.4.3版本
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.jero.boot</groupId>
|
||||
<artifactId>jero-boot</artifactId>
|
||||
<version>2.4.2</version>
|
||||
<version>2.4.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@@ -16,17 +16,14 @@
|
||||
<groupId>com.jero.boot</groupId>
|
||||
<artifactId>jero-system-local-api</artifactId>
|
||||
</dependency>
|
||||
<!-- 如果需要微服务版本,则以上API注释,释放该API
|
||||
<!--引入微服务启动依赖 starter
|
||||
<dependency>
|
||||
<groupId>org.jeecgframework.boot</groupId>
|
||||
<artifactId>jero-boot-starter-cloud</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.jero.boot</groupId>
|
||||
<artifactId>jero-system-cloud-api</artifactId>
|
||||
</dependency>
|
||||
-->
|
||||
<!-- 如果需要微服务版本,则引入微服务启动依赖 starter
|
||||
<dependency>
|
||||
<groupId>com.jero.boot</groupId>
|
||||
<artifactId>jero-cloud-feign-config</artifactId>
|
||||
</dependency>
|
||||
-->
|
||||
<groupId>org.jeecgframework.boot</groupId>
|
||||
<artifactId>jero-boot-starter-job</artifactId>
|
||||
</dependency>-->
|
||||
</dependencies>
|
||||
</project>
|
||||
+2
-17
@@ -149,7 +149,8 @@ public class JeroDemoController extends JeroController<JeroDemo, IJeroDemoServic
|
||||
public ModelAndView exportXls(HttpServletRequest request, JeroDemo jeroDemo) {
|
||||
//获取导出表格字段
|
||||
String exportFields = JeroDemoService.getExportFields();
|
||||
return super.exportXls(request, jeroDemo, JeroDemo.class, "单表模型",exportFields);
|
||||
//分sheet导出表格字段
|
||||
return super.exportXlsSheet(request, jeroDemo, JeroDemo.class, "单表模型",exportFields,500);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -280,20 +281,4 @@ public class JeroDemoController extends JeroController<JeroDemo, IJeroDemoServic
|
||||
IPage<JeroDemo> pageList = JeroDemoService.queryListWithPermission(pageSize, pageNo);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
/*----------------------------------------外部获取权限示例------------------------------------*/
|
||||
|
||||
|
||||
// /**
|
||||
// * 测试MQ
|
||||
// */
|
||||
// @GetMapping(value = "/rabbitMqClientTest")
|
||||
// public Result<?> rabbitMqClientTest(HttpServletRequest req) {
|
||||
// BaseMap map = new BaseMap();
|
||||
// map.put("orderId", RandomUtil.randomNumbers(10));
|
||||
// rabbitMqClient.sendMessage("jero_place_order", map);
|
||||
// rabbitMqClient.sendMessage("jero_place_order_time", map,10);
|
||||
// return Result.OK();
|
||||
// }
|
||||
// @Autowired
|
||||
// private RabbitMqClient rabbitMqClient;
|
||||
}
|
||||
|
||||
+1
-1
@@ -175,7 +175,7 @@ public class JoaDemoController {
|
||||
/**
|
||||
* 导出excel
|
||||
*
|
||||
* @param requestFieldPresenceUtil
|
||||
* @param request
|
||||
* @param response
|
||||
*/
|
||||
@RequestMapping(value = "/exportXls")
|
||||
|
||||
Reference in New Issue
Block a user