Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 66849842
authored
Jan 15, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加日报扣款、平板扣款更新表,工资计算时,有更新表取更新表,没有取原始数据计算
1 parent
6b1e3aa7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
129 additions
and
1 deletions
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/StaffMonthBdmCount.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/mapper/StaffMonthBdmCountMapper.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/salary/StaffMonthSalarySlipService.java
rpc-dj-staff/src/main/resources/META-INF/orm/StaffMonthBdmCountMapper.xml
rpc-dj-staff/src/test/resources/generatorConfig.xml
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/StaffMonthBdmCount.java
0 → 100644
View file @
6684984
package
cn
.
com
.
glsx
.
dj
.
staff
.
model
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.Accessors
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors
(
chain
=
true
)
@Table
(
name
=
"dj_car_life_staff_month_bdm_count"
)
public
class
StaffMonthBdmCount
implements
Serializable
{
/**
* 主键ID
*/
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
/**
* 驻店员工姓名
*/
@Column
(
name
=
"staff_name"
)
private
String
staffName
;
/**
* 驻店员工手机号
*/
@Column
(
name
=
"staff_phone"
)
private
String
staffPhone
;
/**
* 扣减月份
*/
@Column
(
name
=
"deduct_month"
)
private
String
deductMonth
;
/**
* 行为扣款类型(1:日报扣款,2:平板扣款)
*/
@Column
(
name
=
"behavior_deduct_type"
)
private
Byte
behaviorDeductType
;
/**
* 行为数量
*/
@Column
(
name
=
"behavior_count"
)
private
Integer
behaviorCount
;
/**
* 是否修正(0-未修正,1-已修正)
*/
@Column
(
name
=
"modify_flag"
)
private
Integer
modifyFlag
;
/**
* 创建时间
*/
@Column
(
name
=
"created_date"
)
private
Date
createdDate
;
/**
* 创建人
*/
@Column
(
name
=
"create_by"
)
private
String
createBy
;
/**
* 修改时间
*/
@Column
(
name
=
"updated_date"
)
private
Date
updatedDate
;
/**
* 修改人
*/
@Column
(
name
=
"updated_by"
)
private
String
updatedBy
;
/**
* 删除标识(D:已删除;N:未删除)
*/
@Column
(
name
=
"deleted_flag"
)
private
String
deletedFlag
;
}
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/mapper/StaffMonthBdmCountMapper.java
0 → 100644
View file @
6684984
package
cn
.
com
.
glsx
.
dj
.
staff
.
mapper
;
import
cn.com.glsx.dj.staff.model.StaffMonthBdmCount
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.oreframework.datasource.mybatis.mapper.OreMapper
;
@Mapper
public
interface
StaffMonthBdmCountMapper
extends
OreMapper
<
StaffMonthBdmCount
>
{
}
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/salary/StaffMonthSalarySlipService.java
View file @
6684984
This diff is collapsed.
Click to expand it.
rpc-dj-staff/src/main/resources/META-INF/orm/StaffMonthBdmCountMapper.xml
0 → 100644
View file @
6684984
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"cn.com.glsx.dj.staff.mapper.StaffMonthBdmCountMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.com.glsx.dj.staff.model.StaffMonthBdmCount"
>
<!--
WARNING - @mbg.generated
-->
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"staff_name"
property=
"staffName"
jdbcType=
"VARCHAR"
/>
<result
column=
"staff_phone"
property=
"staffPhone"
jdbcType=
"VARCHAR"
/>
<result
column=
"deduct_month"
property=
"deductMonth"
jdbcType=
"CHAR"
/>
<result
column=
"behavior_deduct_type"
property=
"behaviorDeductType"
jdbcType=
"TINYINT"
/>
<result
column=
"behavior_count"
property=
"behaviorCount"
jdbcType=
"INTEGER"
/>
<result
column=
"modify_flag"
property=
"modifyFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"created_date"
property=
"createdDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"create_by"
property=
"createBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"updated_date"
property=
"updatedDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"updated_by"
property=
"updatedBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"deleted_flag"
property=
"deletedFlag"
jdbcType=
"CHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
-->
id, staff_name, staff_phone, deduct_month, behavior_deduct_type, behavior_count,
modify_flag, created_date, create_by, updated_date, updated_by, deleted_flag
</sql>
</mapper>
\ No newline at end of file
rpc-dj-staff/src/test/resources/generatorConfig.xml
View file @
6684984
...
...
@@ -29,7 +29,7 @@
<!-- <table tableName="dj_car_life_merchant_goods_voucher" domainObjectName="MerchantGoodsVoucher" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table>-->
<table
tableName=
"
dj_car_life_dict"
domainObjectName=
"Dic
t"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"
test"
domainObjectName=
"tes
t"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
</context>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment