code formate
parent
1501a8e34b
commit
8da9620e1d
|
@ -102,15 +102,9 @@ public class MdGoodsController extends BaseController {
|
||||||
// 查询条件组装器
|
// 查询条件组装器
|
||||||
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq,
|
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq,
|
||||||
mdGoods, request.getParameterMap());
|
mdGoods, request.getParameterMap());
|
||||||
|
|
||||||
if(StringUtil.isNotEmpty(wmUtil.getCusCode())){
|
if(StringUtil.isNotEmpty(wmUtil.getCusCode())){
|
||||||
cq.eq("suoShuKeHu", wmUtil.getCusCode());
|
cq.eq("suoShuKeHu", wmUtil.getCusCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// if(mdGoods.getZhuangTai()==null){
|
|
||||||
// cq.notEq("zhuangTai", "Y");
|
|
||||||
// }
|
|
||||||
cq.add();
|
cq.add();
|
||||||
this.mdGoodsService.getDataGridReturn(cq, true);
|
this.mdGoodsService.getDataGridReturn(cq, true);
|
||||||
TagUtil.datagrid(response, dataGrid);
|
TagUtil.datagrid(response, dataGrid);
|
||||||
|
@ -203,7 +197,6 @@ public class MdGoodsController extends BaseController {
|
||||||
try {
|
try {
|
||||||
if(StringUtil.isEmpty(mdGoods.getChlKongZhi()) ){
|
if(StringUtil.isEmpty(mdGoods.getChlKongZhi()) ){
|
||||||
mdGoods.setChlKongZhi("N");
|
mdGoods.setChlKongZhi("N");
|
||||||
|
|
||||||
}
|
}
|
||||||
if(StringUtil.isEmpty(mdGoods.getChlShl())){
|
if(StringUtil.isEmpty(mdGoods.getChlShl())){
|
||||||
mdGoods.setChlShl("1");
|
mdGoods.setChlShl("1");
|
||||||
|
|
Loading…
Reference in New Issue