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