Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
0b5a985d
Commit
0b5a985d
authored
Dec 13, 2023
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SAP成本中心
parent
d651b5e7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
144 additions
and
0 deletions
+144
-0
CostCenterApplication.java
...sun/sap/costCenter/application/CostCenterApplication.java
+9
-0
CostCenterApplicationImpl.java
...ostCenter/application/impl/CostCenterApplicationImpl.java
+12
-0
CostCenterController.java
...opsun/sap/costCenter/controller/CostCenterController.java
+29
-0
CostCenter.java
...a/com/huigou/topsun/sap/costCenter/domain/CostCenter.java
+82
-0
CostCenterRepository.java
...opsun/sap/costCenter/repository/CostCenterRepository.java
+12
-0
No files found.
topsun/src/main/java/com/huigou/topsun/sap/costCenter/application/CostCenterApplication.java
0 → 100644
View file @
0b5a985d
package
com
.
huigou
.
topsun
.
sap
.
costCenter
.
application
;
/**
* @Auther: xin.lu
* @Date: 2023/12/13/11:09
* @Description:
*/
public
interface
CostCenterApplication
{
}
topsun/src/main/java/com/huigou/topsun/sap/costCenter/application/impl/CostCenterApplicationImpl.java
0 → 100644
View file @
0b5a985d
package
com
.
huigou
.
topsun
.
sap
.
costCenter
.
application
.
impl
;
import
com.huigou.topsun.sap.costCenter.application.CostCenterApplication
;
import
com.huigou.uasp.bmp.common.application.BaseApplication
;
/**
* @Auther: xin.lu
* @Date: 2023/12/13/11:09
* @Description:
*/
public
class
CostCenterApplicationImpl
extends
BaseApplication
implements
CostCenterApplication
{
}
topsun/src/main/java/com/huigou/topsun/sap/costCenter/controller/CostCenterController.java
0 → 100644
View file @
0b5a985d
package
com
.
huigou
.
topsun
.
sap
.
costCenter
.
controller
;
import
com.huigou.uasp.annotation.ControllerMapping
;
import
com.huigou.uasp.client.CommonController
;
import
org.springframework.stereotype.Controller
;
/**
* @Auther: xin.lu
* @Date: 2023/12/13/11:36
* @Description:
*/
@Controller
@ControllerMapping
(
"/sapCostCenter"
)
public
class
CostCenterController
extends
CommonController
{
@Override
protected
String
getPagePath
(){
return
"/biz/topsun/sap/costCenter"
;
}
/**
* 跳转到成本中心查询列表
* @return
*/
public
String
forwardSapCostCenterList
(){
return
forward
(
"sapCostCenterList"
);
}
}
topsun/src/main/java/com/huigou/topsun/sap/costCenter/domain/CostCenter.java
0 → 100644
View file @
0b5a985d
package
com
.
huigou
.
topsun
.
sap
.
costCenter
.
domain
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.huigou.data.domain.model.AbstractEntity
;
import
com.topsunit.query.annotations.Dictionary
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
java.util.Date
;
/**
* @Auther: xin.lu
* @Date: 2023/12/13/10:42
* @Description:
*/
@TableName
(
"cost_center"
)
@Entity
@Data
public
class
CostCenter
extends
AbstractEntity
{
/**
* 成本中心编码
*/
@Column
(
name
=
"KOSTL"
)
private
String
KOSTL
;
/**
* 有效期自 默认当年1月1日
*/
@Column
(
name
=
"DATAB"
)
private
Date
DATAB
;
/**
* 有效截至日 默认9999.12.31
*/
@Column
(
name
=
"DATBI"
)
private
Date
DATBI
;
/**
* 名称
*/
@Column
(
name
=
"KTEXT"
)
private
String
KTEXT
;
/**
* 描述
*/
@Column
(
name
=
"LTEXT"
)
private
String
LTEXT
;
/**
* 负责人
*/
@Column
(
name
=
"VERAK"
)
private
String
VERAK
;
/**
* 成本中心类型
* 管理类 L
* 销售类 V
* 研发类 E
* 间接生产类 G
* 直接生产类 F
*/
@Column
(
name
=
"KOSAR"
)
@Dictionary
(
"KOSAR"
)
private
String
KOSAR
;
/**
* 利润中心
* 10001000 广州宝绅科技利润中心
* 10001001 广州宝绅RFID利润中心
*/
@Column
(
name
=
"PRCTR"
)
@Dictionary
(
"PRCTR"
)
private
String
PRCTR
;
//创建原因 CHAR 100 手工输入
}
topsun/src/main/java/com/huigou/topsun/sap/costCenter/repository/CostCenterRepository.java
0 → 100644
View file @
0b5a985d
package
com
.
huigou
.
topsun
.
sap
.
costCenter
.
repository
;
import
com.huigou.topsun.sap.costCenter.domain.CostCenter
;
import
org.springframework.data.jpa.repository.JpaRepository
;
/**
* @Auther: xin.lu
* @Date: 2023/12/13/11:08
* @Description:
*/
public
interface
CostCenterRepository
extends
JpaRepository
<
CostCenter
,
String
>
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment