| | |
| | | @RequestParam(required = false)String orderByType, |
| | | @RequestParam(required = false)String condition, |
| | | @RequestParam Map<String, Object> param){ |
| | | |
| | | excludeTrash(param); |
| | | EntityWrapper<LocDetl> wrapper = new EntityWrapper<>(); |
| | | if ("0".equals(param.get("mat_status"))) { |
| | | wrapper.isNull("mat_status"); |
| | | param.remove("mat_status"); |
| | | } |
| | | convert(param, wrapper); |
| | | allLike(LocDetl.class, param.keySet(), wrapper, condition); |
| | | if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));} |
| | |
| | | <div class="layui-inline"> |
| | | <select id="matStatusSelect" name="mat_status"> |
| | | <option value="">请选择物料状态</option> |
| | | <option value="0">待检</option> |
| | | <option value="1">良品</option> |
| | | <option value="2">不良品</option> |
| | | </select> |