保存进度!
This commit is contained in:
parent
f7d48368c6
commit
503e7ba86c
@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* @Author: Kane
|
||||||
|
* @Date: 2023-05-02 09:24:07
|
||||||
|
* @LastEditors: Kane
|
||||||
|
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/biz/TelSaleArchievement.java
|
||||||
|
* @Description:
|
||||||
|
*
|
||||||
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
|
*/
|
||||||
|
package com.cpic.xim.biz;
|
||||||
|
|
||||||
|
public class TelSaleArchievement
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -15,6 +15,7 @@ import org.springframework.stereotype.Controller;
|
|||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping( "/archievement" )
|
@RequestMapping( "/archievement" )
|
||||||
@ -26,9 +27,15 @@ public class ArchievementQueryController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询部门业绩
|
||||||
|
* @param request DepartmentArchievementQueryRequest 类型的部门参数。
|
||||||
|
* @return 返回 DepartmentArchievementQueryResult 对象。
|
||||||
|
*/
|
||||||
@PostMapping( "/query_department_archievement.do" )
|
@PostMapping( "/query_department_archievement.do" )
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public DepartmentArchievementQueryResult queryDepartmentArchievement()
|
public DepartmentArchievementQueryResult queryDepartmentArchievement(
|
||||||
|
@RequestBody DepartmentArchievementQueryRequest request )
|
||||||
{
|
{
|
||||||
DepartmentArchievementQueryResult result = new DepartmentArchievementQueryResult();
|
DepartmentArchievementQueryResult result = new DepartmentArchievementQueryResult();
|
||||||
|
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* @Author: Kane
|
||||||
|
*
|
||||||
|
* @Date: 2023-04-30 11:11:34
|
||||||
|
*
|
||||||
|
* @LastEditors: Kane
|
||||||
|
*
|
||||||
|
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/web/controllers/archievement/DepartmentArchievementQueryRequest.java
|
||||||
|
* DepartmentArchievementQueryRequest.java
|
||||||
|
*
|
||||||
|
* @Description:
|
||||||
|
*
|
||||||
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
|
*/
|
||||||
|
package com.cpic.xim.web.controllers.archievement;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
public class DepartmentArchievementQueryRequest
|
||||||
|
{
|
||||||
|
public DepartmentArchievementQueryRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 构造函数
|
||||||
|
* @param departmentCode 部门代码
|
||||||
|
* @param departmentName 部门名称
|
||||||
|
*/
|
||||||
|
public DepartmentArchievementQueryRequest( String departmentCode, String departmentName)
|
||||||
|
{
|
||||||
|
this.departmentCode = departmentCode;
|
||||||
|
this.departmentName = departmentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDepartmentCode()
|
||||||
|
{
|
||||||
|
return departmentCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDepartmentCode( String departmentCode )
|
||||||
|
{
|
||||||
|
this.departmentCode = departmentCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDepartmentName()
|
||||||
|
{
|
||||||
|
return departmentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDepartmentName( String departmentName )
|
||||||
|
{
|
||||||
|
this.departmentName = departmentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonProperty( "departmentCode" )
|
||||||
|
private String departmentCode;
|
||||||
|
|
||||||
|
@JsonProperty( "departmentName" )
|
||||||
|
private String departmentName;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user