feat:handleDecorationTeam
This commit is contained in:
@@ -6,6 +6,7 @@ import com.cool.store.dto.decoration.DecorationListDTO;
|
||||
import com.cool.store.dto.decoration.DecorationTeamDTO;
|
||||
import com.cool.store.request.decoration.AddTeamRequest;
|
||||
import com.cool.store.request.decoration.DecorationListRequest;
|
||||
import com.cool.store.request.decoration.UpdateConstructionTeamRequest;
|
||||
import com.cool.store.request.decoration.UpdateTeamRequest;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.DecorationHandleService;
|
||||
@@ -50,7 +51,6 @@ public class DecorationAllocationController {
|
||||
return ResponseResult.success(decorationHandleService.deleteByTeamId(teamId));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/listByCondition")
|
||||
@ApiOperation("查询团队")
|
||||
public ResponseResult<PageInfo<DecorationTeamDTO>> listByCondition(@RequestBody PageBasicInfo pageBasicInfo){
|
||||
@@ -63,10 +63,17 @@ public class DecorationAllocationController {
|
||||
return ResponseResult.success(decorationHandleService.getDecorationAssignList(pageBasicInfo));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/getShopSignerInfo")
|
||||
@GetMapping("/getShopSignerInfo")
|
||||
@ApiOperation("详情中获取签约人信息")
|
||||
public ResponseResult<ShopSignerInfoDTO> getShopSignerInfo(@RequestParam("shopId") Long shopId){
|
||||
return ResponseResult.success(decorationHandleService.getShopSignerInfo(shopId));
|
||||
}
|
||||
|
||||
@PostMapping("/confirm")
|
||||
@ApiOperation("确认")
|
||||
public ResponseResult<Boolean> updateConstructionTeam(@RequestBody UpdateConstructionTeamRequest request){
|
||||
return ResponseResult.success(decorationHandleService.updateConstructionTeam(request));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user