Procházet zdrojové kódy

userw员工管理调整

master
huminghao před 4 dny
rodič
revize
c43b507155

+ 7
- 0
zhywpt-app-userw/src/main/java/cn/com/taiji/userw/dto/serviceHall/ServiceHallSonQueryRequestDTO.java Zobrazit soubor

@@ -1,10 +1,17 @@
package cn.com.taiji.userw.dto.serviceHall;

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

import javax.validation.constraints.NotBlank;


@Data
public class ServiceHallSonQueryRequestDTO extends AbstractStaffBizRequestDTO {
// 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 Zobrazit soubor

@@ -161,7 +161,7 @@ public class ServiceHallManagerImpl extends AbstractUserwManager implements Serv

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

Načítá se…
Zrušit
Uložit