|
@ -14,12 +14,10 @@ import com.epmet.modules.partyOrg.service.IcScheduleService; |
|
|
import com.epmet.resi.partymember.dto.IcScheduleDTO; |
|
|
import com.epmet.resi.partymember.dto.IcScheduleDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.AddOrEditScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.AddOrEditScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.IcScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.IcScheduleFormDTO; |
|
|
import org.apache.poi.ss.formula.functions.T; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -36,7 +34,7 @@ public class IcScheduleController { |
|
|
private IcScheduleService icScheduleService; |
|
|
private IcScheduleService icScheduleService; |
|
|
|
|
|
|
|
|
@RequestMapping("list") |
|
|
@RequestMapping("list") |
|
|
public Result<PageData<IcScheduleDTO>> list(@LoginUser TokenDto tokenDto, @RequestParam IcScheduleFormDTO formDTO){ |
|
|
public Result<PageData<IcScheduleDTO>> list(@LoginUser TokenDto tokenDto, @RequestBody IcScheduleFormDTO formDTO){ |
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
formDTO.setStaffId(tokenDto.getUserId()); |
|
|
formDTO.setStaffId(tokenDto.getUserId()); |
|
|
return new Result<PageData<IcScheduleDTO>>().ok(icScheduleService.list(formDTO)); |
|
|
return new Result<PageData<IcScheduleDTO>>().ok(icScheduleService.list(formDTO)); |
|
|