对空值的判断
This commit is contained in:
parent
46e3a99147
commit
bdc3cfce1d
@ -191,9 +191,14 @@ public class AssessManagerController extends AbstractController{
|
|||||||
@GetMapping("assess/manager/Urging")
|
@GetMapping("assess/manager/Urging")
|
||||||
@ApiOperation("一键催办")
|
@ApiOperation("一键催办")
|
||||||
@ApiResponses({@ApiResponse(code = 200,message = "成功")})
|
@ApiResponses({@ApiResponse(code = 200,message = "成功")})
|
||||||
public R assessToScore(@RequestParam Map<String, Long> params){
|
public R assessToScore(@RequestParam Map<String, String> params){
|
||||||
Long startId = params.get("startId");
|
log.info("接受的至{}", params);
|
||||||
Long flowProcess = params.get("flowProcess");
|
Long startId = Long.parseLong(params.get("startId"));
|
||||||
|
Long flowProcess = null;
|
||||||
|
if(params.containsKey("flowProcess")){
|
||||||
|
flowProcess = Long.parseLong(params.get("flowProcess"));
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Long userId = getUserId();
|
Long userId = getUserId();
|
||||||
log.info("一键催办" + userId);
|
log.info("一键催办" + userId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user