去掉导出

master
e 2020-03-31 10:18:34 +08:00
parent a6d7f7d5eb
commit 83eec70b42
1 changed files with 5 additions and 3 deletions

View File

@ -2542,12 +2542,14 @@ public class WmOmNoticeHController extends BaseController {
@RequestParam(value="omNoticeId", required=false)String omnoticeid) { @RequestParam(value="omNoticeId", required=false)String omnoticeid) {
ResultDO D0 = new ResultDO(); ResultDO D0 = new ResultDO();
D0.setOK(true); D0.setOK(true);
String hql="from WmImNoticeIEntity where omNoticeId = ? "; String hql="from WmOmNoticeIEntity where omNoticeId = ? ";
List<WmOmNoticeIEntity> listWaveToDowns =new ArrayList<>(); List<WmOmNoticeIEntity> listWaveToDowns =new ArrayList<>();
// hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?"; // hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?";
// listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr); // listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr);
hql="from WmOmNoticeIEntity where omSta = ? and omNoticeId = ?"; hql="from WmOmNoticeIEntity ";
listWaveToDowns = wmOmNoticeHService.findHql(hql,"Y", omnoticeid); // hql="from WmOmNoticeIEntity where omSta = ? and omNoticeId = ?";
listWaveToDowns = wmOmNoticeHService.findHql(hql);
// listWaveToDowns = wmOmNoticeHService.findHql(hql,"Y", omnoticeid);
D0.setObj(listWaveToDowns); D0.setObj(listWaveToDowns);
return new ResponseEntity(D0, HttpStatus.OK); return new ResponseEntity(D0, HttpStatus.OK);
} }