Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
9e815072
Commit
9e815072
authored
Jul 28, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预派单 代码修改
parent
62040ee2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
TPreDispatchInfoController.java
...v1/yifu/social/controller/TPreDispatchInfoController.java
+10
-10
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TPreDispatchInfoController.java
View file @
9e815072
...
@@ -146,12 +146,11 @@ public class TPreDispatchInfoController {
...
@@ -146,12 +146,11 @@ public class TPreDispatchInfoController {
* @param status 0 是 1 否
* @param status 0 是 1 否
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"修改资料是否提交"
,
description
=
"修改资料是否提交:status 0 是 1 否
(social_tpredispatchinfo_edit)
"
)
@Operation
(
summary
=
"修改资料是否提交"
,
description
=
"修改资料是否提交:status 0 是 1 否"
)
@SysLog
(
"修改资料是否提交"
)
@SysLog
(
"修改资料是否提交"
)
@PostMapping
(
"/modifyDataSubmitStatus"
)
@PostMapping
(
"/modifyDataSubmitStatus"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_edit')"
)
public
R
<
Boolean
>
modifyDataSubmitStatus
(
@RequestParam
(
value
=
"ids"
)
String
ids
,
public
R
<
Boolean
>
modifyDataSubmitStatus
(
@RequestParam
(
value
=
"ids"
,
required
=
true
)
String
ids
,
@RequestParam
(
value
=
"status"
)
String
status
)
{
@RequestParam
(
value
=
"status"
,
required
=
true
)
String
status
)
{
return
tPreDispatchInfoService
.
modifyDataSubmitStatus
(
ids
,
status
);
return
tPreDispatchInfoService
.
modifyDataSubmitStatus
(
ids
,
status
);
}
}
/**
/**
...
@@ -165,7 +164,7 @@ public class TPreDispatchInfoController {
...
@@ -165,7 +164,7 @@ public class TPreDispatchInfoController {
@SysLog
(
"清空预派单默认的派单合同信息"
)
@SysLog
(
"清空预派单默认的派单合同信息"
)
@PostMapping
(
"/clearContractInfo"
)
@PostMapping
(
"/clearContractInfo"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_edit')"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_edit')"
)
public
R
<
Boolean
>
clearContractInfo
(
@RequestParam
(
value
=
"ids"
,
required
=
true
)
String
ids
)
{
public
R
<
Boolean
>
clearContractInfo
(
@RequestParam
(
value
=
"ids"
)
String
ids
)
{
return
tPreDispatchInfoService
.
clearContractInfo
(
ids
);
return
tPreDispatchInfoService
.
clearContractInfo
(
ids
);
}
}
...
@@ -178,12 +177,11 @@ public class TPreDispatchInfoController {
...
@@ -178,12 +177,11 @@ public class TPreDispatchInfoController {
* @param cancelRemark 不派单 时填写
* @param cancelRemark 不派单 时填写
* @return R
* @return R
**/
**/
@Operation
(
summary
=
"更新预派单是否派单状态"
,
description
=
"更新预派单是否派单状态
(social_tpredispatchinfo_edit)
"
)
@Operation
(
summary
=
"更新预派单是否派单状态"
,
description
=
"更新预派单是否派单状态"
)
@SysLog
(
"更新预派单是否派单状态"
)
@SysLog
(
"更新预派单是否派单状态"
)
@PostMapping
(
"/updateDispatchFlag"
)
@PostMapping
(
"/updateDispatchFlag"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_edit')"
)
public
R
<
Boolean
>
updateDispatchFlag
(
@RequestParam
(
value
=
"id"
)
String
id
,
public
R
<
Boolean
>
updateDispatchFlag
(
@RequestParam
(
value
=
"id"
,
required
=
true
)
String
id
,
@RequestParam
(
value
=
"dispatchFlag"
)
String
dispatchFlag
,
@RequestParam
(
value
=
"dispatchFlag"
,
required
=
true
)
String
dispatchFlag
,
@RequestParam
(
value
=
"cancelRemark"
,
required
=
false
)
String
cancelRemark
)
{
@RequestParam
(
value
=
"cancelRemark"
,
required
=
false
)
String
cancelRemark
)
{
return
tPreDispatchInfoService
.
updateDispatchFlag
(
id
,
dispatchFlag
,
cancelRemark
);
return
tPreDispatchInfoService
.
updateDispatchFlag
(
id
,
dispatchFlag
,
cancelRemark
);
}
}
...
@@ -197,7 +195,8 @@ public class TPreDispatchInfoController {
...
@@ -197,7 +195,8 @@ public class TPreDispatchInfoController {
*/
*/
@Operation
(
summary
=
"单个派单:按创建人和ID"
,
description
=
"单个派单:按创建人和ID"
)
@Operation
(
summary
=
"单个派单:按创建人和ID"
,
description
=
"单个派单:按创建人和ID"
)
@PostMapping
(
"/dispatchById"
)
@PostMapping
(
"/dispatchById"
)
public
R
<
Boolean
>
dispatchById
(
@RequestParam
(
value
=
"id"
,
required
=
true
)
String
id
)
{
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_dispatch')"
)
public
R
<
Boolean
>
dispatchById
(
@RequestParam
(
value
=
"id"
)
String
id
)
{
return
tPreDispatchInfoService
.
dispatchById
(
id
);
return
tPreDispatchInfoService
.
dispatchById
(
id
);
}
}
...
@@ -209,6 +208,7 @@ public class TPreDispatchInfoController {
...
@@ -209,6 +208,7 @@ public class TPreDispatchInfoController {
*/
*/
@Operation
(
summary
=
"一键派单:按创建人查找正常未派单的数据"
,
description
=
"一键派单:按创建人查找正常未派单的数据"
)
@Operation
(
summary
=
"一键派单:按创建人查找正常未派单的数据"
,
description
=
"一键派单:按创建人查找正常未派单的数据"
)
@PostMapping
(
"/oneKeyToDispatch"
)
@PostMapping
(
"/oneKeyToDispatch"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpredispatchinfo_dispatch')"
)
public
R
oneKeyToDispatch
(
@RequestParam
String
idStr
)
{
public
R
oneKeyToDispatch
(
@RequestParam
String
idStr
)
{
return
tPreDispatchInfoService
.
oneKeyToDispatch
(
idStr
);
return
tPreDispatchInfoService
.
oneKeyToDispatch
(
idStr
);
}
}
...
...
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