Commit be2f2db5 by sdif

用户端代码提交

parent 481f00d6
...@@ -150,6 +150,9 @@ public class DepartmentServiceImpl implements IDepartmentService { ...@@ -150,6 +150,9 @@ public class DepartmentServiceImpl implements IDepartmentService {
// 子菜单 // 子菜单
List<DepartmentVo> childList = new ArrayList<>(); List<DepartmentVo> childList = new ArrayList<>();
for (DepartmentVo entity : allMenu) { for (DepartmentVo entity : allMenu) {
entity.setLabel(entity.getTitle());
entity.setValue(entity.getId());
entity.setText(entity.getTitle());
if (entity.getParentId().toString().equals(id)) { if (entity.getParentId().toString().equals(id)) {
childList.add(entity); childList.add(entity);
} }
......
...@@ -75,6 +75,7 @@ public class HospitalServiceImpl implements IHospitalService { ...@@ -75,6 +75,7 @@ public class HospitalServiceImpl implements IHospitalService {
public TableDataInfo<HospitalVo> queryPageList(HospitalBo bo, PageQuery pageQuery) { public TableDataInfo<HospitalVo> queryPageList(HospitalBo bo, PageQuery pageQuery) {
LambdaQueryWrapper<Hospital> lqw = new LambdaQueryWrapper<>(); LambdaQueryWrapper<Hospital> lqw = new LambdaQueryWrapper<>();
Page<HospitalVo> result = new Page<>(); Page<HospitalVo> result = new Page<>();
bo.setStatus(1);
if (null == bo.getId()) { if (null == bo.getId()) {
lqw = buildQueryWrapper(bo); lqw = buildQueryWrapper(bo);
result = baseMapper.selectVoPage(pageQuery.build(), lqw); result = baseMapper.selectVoPage(pageQuery.build(), lqw);
......
...@@ -843,7 +843,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService { ...@@ -843,7 +843,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
userRefund.setSonOrderId(sonOrderSimpleDataByTotalId.getSonOrderId()); userRefund.setSonOrderId(sonOrderSimpleDataByTotalId.getSonOrderId());
userRefund.setPhone(bo.getPhone()); userRefund.setPhone(bo.getPhone());
userRefund.setStatus(0); userRefund.setStatus(0);
userRefundMapper.insert(userRefund);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment