|
@@ -73,6 +73,21 @@ public class ZwywJclrYcxxServiceImpl implements IZwywJclrYcxxService {
|
|
|
return zwywJclrBtbzs;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public List<ZwywJclrYcxx> selectAppList(ZwywJclrYcxx zwywJclrYcxx) {
|
|
|
+ if (StringUtils.isEmpty(zwywJclrYcxx.getYcsj())) {
|
|
|
+ throw new ServiceException("就餐时间不能为空");
|
|
|
+ }
|
|
|
+ if (StringUtils.isEmpty(zwywJclrYcxx.getSbid())) {
|
|
|
+ throw new ServiceException("设备编码不能为空");
|
|
|
+ }
|
|
|
+ LambdaQueryWrapper<ZwywJclrYcxx> lqw = new LambdaQueryWrapper<ZwywJclrYcxx>().eq(ZwywJclrYcxx::getSbid, zwywJclrYcxx.getSbid())
|
|
|
+ .like(ZwywJclrYcxx::getYcsj, zwywJclrYcxx.getYcsj());
|
|
|
+ List<ZwywJclrYcxx> res = zwywJclrYcxxMapper.selectList(lqw);
|
|
|
+ res.forEach(z -> z.setSsqhMc(sysDeptJlMapper.getXzqhNames(z.getSsqh().length() == 6 ? z.getSsqh() + "000000" : z.getSsqh())));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@Override
|
|
|
public List<ZwywJclrYcxx> listAndLrInfo(ZwywJclrYcxx zwywJclrYcxx) {
|