Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
6a7fbdf8
Commit
6a7fbdf8
authored
Aug 03, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
零时薪资单5
parent
565eb20c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
yd-api/src/main/java/com/yd/api/practitioner/vo/n22/SalaryDetail.java
+1
-1
yd-api/src/main/java/com/yd/dal/entity/salary/AgAclSalary.java
+3
-3
yd-api/src/main/resources/mapper/salary/AgAclSalaryMapper.xml
+21
-21
No files found.
yd-api/src/main/java/com/yd/api/practitioner/vo/n22/SalaryDetail.java
View file @
6a7fbdf8
...
@@ -17,5 +17,5 @@ public class SalaryDetail {
...
@@ -17,5 +17,5 @@ public class SalaryDetail {
private
Double
after_tax_comis
;
//税后应发
private
Double
after_tax_comis
;
//税后应发
private
Integer
salaryType
;
private
String
salaryType
;
}
}
yd-api/src/main/java/com/yd/dal/entity/salary/AgAclSalary.java
View file @
6a7fbdf8
...
@@ -32,7 +32,7 @@ public class AgAclSalary implements Serializable {
...
@@ -32,7 +32,7 @@ public class AgAclSalary implements Serializable {
/**
/**
* 薪资类别(1=个人销售A; 2=销售管理B; 3=其他加扣款C)
* 薪资类别(1=个人销售A; 2=销售管理B; 3=其他加扣款C)
*/
*/
private
Integer
salaryType
;
private
String
salaryType
;
/**
/**
* 薪资code
* 薪资code
...
@@ -128,11 +128,11 @@ public class AgAclSalary implements Serializable {
...
@@ -128,11 +128,11 @@ public class AgAclSalary implements Serializable {
this
.
yearMonth
=
yearMonth
;
this
.
yearMonth
=
yearMonth
;
}
}
public
Integer
getSalaryType
()
{
public
String
getSalaryType
()
{
return
salaryType
;
return
salaryType
;
}
}
public
void
setSalaryType
(
Integer
salaryType
)
{
public
void
setSalaryType
(
String
salaryType
)
{
this
.
salaryType
=
salaryType
;
this
.
salaryType
=
salaryType
;
}
}
...
...
yd-api/src/main/resources/mapper/salary/AgAclSalaryMapper.xml
View file @
6a7fbdf8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<result
column=
"practitioner_id"
jdbcType=
"BIGINT"
property=
"practitionerId"
/>
<result
column=
"practitioner_id"
jdbcType=
"BIGINT"
property=
"practitionerId"
/>
<result
column=
"practitioner_code"
jdbcType=
"VARCHAR"
property=
"practitionerCode"
/>
<result
column=
"practitioner_code"
jdbcType=
"VARCHAR"
property=
"practitionerCode"
/>
<result
column=
"year_month"
jdbcType=
"VARCHAR"
property=
"yearMonth"
/>
<result
column=
"year_month"
jdbcType=
"VARCHAR"
property=
"yearMonth"
/>
<result
column=
"salary_type"
jdbcType=
"
INTEGE
R"
property=
"salaryType"
/>
<result
column=
"salary_type"
jdbcType=
"
VARCHA
R"
property=
"salaryType"
/>
<result
column=
"salary_code"
jdbcType=
"VARCHAR"
property=
"salaryCode"
/>
<result
column=
"salary_code"
jdbcType=
"VARCHAR"
property=
"salaryCode"
/>
<result
column=
"salary_name"
jdbcType=
"VARCHAR"
property=
"salaryName"
/>
<result
column=
"salary_name"
jdbcType=
"VARCHAR"
property=
"salaryName"
/>
<result
column=
"amount"
jdbcType=
"DECIMAL"
property=
"amount"
/>
<result
column=
"amount"
jdbcType=
"DECIMAL"
property=
"amount"
/>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
created_by, updated_at, updated_by
created_by, updated_at, updated_by
)
)
values (#{practitionerId,jdbcType=BIGINT}, #{practitionerCode,jdbcType=VARCHAR},
values (#{practitionerId,jdbcType=BIGINT}, #{practitionerCode,jdbcType=VARCHAR},
#{yearMonth,jdbcType=VARCHAR}, #{salaryType,jdbcType=
INTEGER}, #{salaryCode,jdbcType=VARCHAR},
#{yearMonth,jdbcType=VARCHAR}, #{salaryType,jdbcType=
VARCHAR}, #{salaryCode,jdbcType=VARCHAR},
#{salaryName,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{tax,jdbcType=DECIMAL},
#{salaryName,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{tax,jdbcType=DECIMAL},
#{afterTaxAmount,jdbcType=DECIMAL}, #{lifePractitionerSalaryId,jdbcType=BIGINT},
#{afterTaxAmount,jdbcType=DECIMAL}, #{lifePractitionerSalaryId,jdbcType=BIGINT},
#{isActive,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
#{isActive,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
`year_month` = #{yearMonth,jdbcType=VARCHAR},
`year_month` = #{yearMonth,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"salaryType != null"
>
<if
test=
"salaryType != null"
>
salary_type = #{salaryType,jdbcType=
INTEGE
R},
salary_type = #{salaryType,jdbcType=
VARCHA
R},
</if>
</if>
<if
test=
"salaryCode != null"
>
<if
test=
"salaryCode != null"
>
salary_code = #{salaryCode,jdbcType=VARCHAR},
salary_code = #{salaryCode,jdbcType=VARCHAR},
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
set practitioner_id = #{practitionerId,jdbcType=BIGINT},
set practitioner_id = #{practitionerId,jdbcType=BIGINT},
practitioner_code = #{practitionerCode,jdbcType=VARCHAR},
practitioner_code = #{practitionerCode,jdbcType=VARCHAR},
`year_month` = #{yearMonth,jdbcType=VARCHAR},
`year_month` = #{yearMonth,jdbcType=VARCHAR},
salary_type = #{salaryType,jdbcType=
INTEGE
R},
salary_type = #{salaryType,jdbcType=
VARCHA
R},
salary_code = #{salaryCode,jdbcType=VARCHAR},
salary_code = #{salaryCode,jdbcType=VARCHAR},
salary_name = #{salaryName,jdbcType=VARCHAR},
salary_name = #{salaryName,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
amount = #{amount,jdbcType=DECIMAL},
...
@@ -236,55 +236,55 @@
...
@@ -236,55 +236,55 @@
<select
id=
"queryByRecord"
parameterType=
"com.yd.dal.entity.salary.AgAclSalary"
resultMap=
"BaseResultMap"
>
<select
id=
"queryByRecord"
parameterType=
"com.yd.dal.entity.salary.AgAclSalary"
resultMap=
"BaseResultMap"
>
select * from ag_acl_salary
select * from ag_acl_salary
where
where
1=1
<trim
suffixOverrides=
","
>
<trim
suffixOverrides=
","
>
<if
test=
"practitionerId != null"
>
<if
test=
"practitionerId != null"
>
practitioner_id = #{practitionerId,jdbcType=BIGINT},
and practitioner_id = #{practitionerId,jdbcType=BIGINT}
</if>
</if>
<if
test=
"practitionerCode != null"
>
<if
test=
"practitionerCode != null"
>
practitioner_code = #{practitionerCode,jdbcType=VARCHAR},
and practitioner_code = #{practitionerCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"yearMonth != null"
>
<if
test=
"yearMonth != null"
>
`year_month` = #{yearMonth,jdbcType=VARCHAR},
and `year_month` = #{yearMonth,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"salaryType != null"
>
<if
test=
"salaryType != null"
>
salary_type = #{salaryType,jdbcType=INTEGER},
and salary_type = #{salaryType,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"salaryCode != null"
>
<if
test=
"salaryCode != null"
>
salary_code = #{salaryCode,jdbcType=VARCHAR},
and salary_code = #{salaryCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"salaryName != null"
>
<if
test=
"salaryName != null"
>
salary_name = #{salaryName,jdbcType=VARCHAR},
and salary_name = #{salaryName,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"amount != null"
>
<if
test=
"amount != null"
>
a
mount = #{amount,jdbcType=DECIMAL},
a
nd amount = #{amount,jdbcType=DECIMAL}
</if>
</if>
<if
test=
"tax != null"
>
<if
test=
"tax != null"
>
tax = #{tax,jdbcType=DECIMAL},
and tax = #{tax,jdbcType=DECIMAL}
</if>
</if>
<if
test=
"afterTaxAmount != null"
>
<if
test=
"afterTaxAmount != null"
>
a
fter_tax_amount = #{afterTaxAmount,jdbcType=DECIMAL},
a
nd after_tax_amount = #{afterTaxAmount,jdbcType=DECIMAL}
</if>
</if>
<if
test=
"lifePractitionerSalaryId != null"
>
<if
test=
"lifePractitionerSalaryId != null"
>
life_practitioner_salary_id = #{lifePractitionerSalaryId,jdbcType=BIGINT},
and life_practitioner_salary_id = #{lifePractitionerSalaryId,jdbcType=BIGINT}
</if>
</if>
<if
test=
"isActive != null"
>
<if
test=
"isActive != null"
>
is_active = #{isActive,jdbcType=INTEGER},
and is_active = #{isActive,jdbcType=INTEGER}
</if>
</if>
<if
test=
"remark != null"
>
<if
test=
"remark != null"
>
remark = #{remark,jdbcType=VARCHAR},
and remark = #{remark,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"createdAt != null"
>
<if
test=
"createdAt != null"
>
created_at = #{createdAt,jdbcType=TIMESTAMP},
and created_at = #{createdAt,jdbcType=TIMESTAMP}
</if>
</if>
<if
test=
"createdBy != null"
>
<if
test=
"createdBy != null"
>
created_by = #{createdBy,jdbcType=BIGINT},
and created_by = #{createdBy,jdbcType=BIGINT}
</if>
</if>
<if
test=
"updatedAt != null"
>
<if
test=
"updatedAt != null"
>
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
and updated_at = #{updatedAt,jdbcType=TIMESTAMP}
</if>
</if>
<if
test=
"updatedBy != null"
>
<if
test=
"updatedBy != null"
>
updated_by = #{updatedBy,jdbcType=BIGINT},
and updated_by = #{updatedBy,jdbcType=BIGINT}
</if>
</if>
</trim>
</trim>
</select>
</select>
...
...
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