code formate
parent
52b1335fc9
commit
4174b45840
|
@ -114,11 +114,6 @@ public class WmToDownGoodsController extends BaseController {
|
||||||
// 查询条件组装器
|
// 查询条件组装器
|
||||||
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq,
|
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq,
|
||||||
wmToDownGoods, request.getParameterMap());
|
wmToDownGoods, request.getParameterMap());
|
||||||
try {
|
|
||||||
// 自定义追加查询条件
|
|
||||||
} catch (Exception e) {
|
|
||||||
throw new BusinessException(e.getMessage());
|
|
||||||
}
|
|
||||||
Map<String, Object> map1 = new HashMap<String, Object>();
|
Map<String, Object> map1 = new HashMap<String, Object>();
|
||||||
map1.put("createDate", "desc");
|
map1.put("createDate", "desc");
|
||||||
cq.setOrder(map1);
|
cq.setOrder(map1);
|
||||||
|
@ -134,16 +129,11 @@ public class WmToDownGoodsController extends BaseController {
|
||||||
t.setGoodsName(goods.getGoodsName());
|
t.setGoodsName(goods.getGoodsName());
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resultnew.add(t);
|
resultnew.add(t);
|
||||||
}
|
}
|
||||||
dataGrid.setResults(resultnew);
|
dataGrid.setResults(resultnew);
|
||||||
|
|
||||||
|
|
||||||
TagUtil.datagrid(response, dataGrid);
|
TagUtil.datagrid(response, dataGrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -323,7 +313,6 @@ public class WmToDownGoodsController extends BaseController {
|
||||||
@RequestMapping(params = "updateRows")
|
@RequestMapping(params = "updateRows")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxJson updateRows(Delrowpage page) {
|
public AjaxJson updateRows(Delrowpage page) {
|
||||||
String message = null;
|
|
||||||
List<WmToDownGoodsEntity> demos = page.getDownrows();
|
List<WmToDownGoodsEntity> demos = page.getDownrows();
|
||||||
AjaxJson j = new AjaxJson();
|
AjaxJson j = new AjaxJson();
|
||||||
if (CollectionUtils.isNotEmpty(demos)) {
|
if (CollectionUtils.isNotEmpty(demos)) {
|
||||||
|
|
Loading…
Reference in New Issue