浏览代码

userw员工管理调整

master
huminghao 5 天前
父节点
当前提交
c43b507155

+ 7
- 0
zhywpt-app-userw/src/main/java/cn/com/taiji/userw/dto/serviceHall/ServiceHallSonQueryRequestDTO.java 查看文件

package cn.com.taiji.userw.dto.serviceHall; package cn.com.taiji.userw.dto.serviceHall;


import cn.com.taiji.core.dto.AbstractStaffBizRequestDTO; import cn.com.taiji.core.dto.AbstractStaffBizRequestDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;


import javax.validation.constraints.NotBlank;



@Data @Data
public class ServiceHallSonQueryRequestDTO extends AbstractStaffBizRequestDTO { public class ServiceHallSonQueryRequestDTO extends AbstractStaffBizRequestDTO {
// private String servicehallId; // private String servicehallId;

@ApiModelProperty(value = "渠道编号")
@NotBlank(message = "渠道编号不能为空")
private String agencyId;
} }

+ 1
- 1
zhywpt-app-userw/src/main/java/cn/com/taiji/userw/manager/serviceHall/ServiceHallManagerImpl.java 查看文件



@Override @Override
public List<ServiceHallSonQueryModel> querySon(ServiceHallSonQueryRequestDTO reqDto) { public List<ServiceHallSonQueryModel> querySon(ServiceHallSonQueryRequestDTO reqDto) {
List<QtkServiceHall> all = serviceHallRepo.findAll();
List<QtkServiceHall> all = serviceHallRepo.listByAgencyId(reqDto.getAgencyId());
if (CollectionUtil.isEmpty(all)) return null; if (CollectionUtil.isEmpty(all)) return null;
List<QtkServiceHall> top = new ArrayList<>();//最顶级的网点 List<QtkServiceHall> top = new ArrayList<>();//最顶级的网点
List<QtkServiceHall> son = new ArrayList<>();//子网点 List<QtkServiceHall> son = new ArrayList<>();//子网点

正在加载...
取消
保存