feat:handleDecorationTeam

This commit is contained in:
苏竹红
2025-11-03 16:17:08 +08:00
parent ddaa9bd1fe
commit 0c3e3048ef
5 changed files with 60 additions and 8 deletions

View File

@@ -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));
}
}