update
This commit is contained in:
parent
7ae69a4e3d
commit
9f2b84dea5
|
|
@ -31,7 +31,7 @@ public class ExampleBlade extends BladeController{
|
||||||
public void other(){
|
public void other(){
|
||||||
Blade dao = Blade.create(Notice.class);
|
Blade dao = Blade.create(Notice.class);
|
||||||
//指定表名、查询条件查询多条数据(完整sql)
|
//指定表名、查询条件查询多条数据(完整sql)
|
||||||
List<Notice> list = dao.find("select * from tb_tfw_tzgg where f_it_xl = #{xl},f_it_cjr = #{cjr}", Record.create().set("xl", 1).set("cjr", 1));
|
List<Notice> list = dao.find("select * from tb_tfw_tzgg where f_it_xl = #{xl} and f_it_cjr = #{cjr}", Record.create().set("xl", 1).set("cjr", 1));
|
||||||
System.out.println(list);
|
System.out.println(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ public class ExampleExcel extends BladeController {
|
||||||
/**
|
/**
|
||||||
* excel视图方式
|
* excel视图方式
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/export1")
|
@RequestMapping("/export")
|
||||||
public String exportMerchantProfitQuery(ModelMap modelMap,
|
public String exportMerchantProfitQuery(ModelMap modelMap,
|
||||||
HttpServletResponse response) {
|
HttpServletResponse response) {
|
||||||
List<ExcelExportEntity> entityList = new ArrayList<ExcelExportEntity>();
|
List<ExcelExportEntity> entityList = new ArrayList<ExcelExportEntity>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user