mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
remove 删除无用注释 添加非空校验
This commit is contained in:
parent
3e44e16857
commit
8b9af5358c
@ -238,7 +238,6 @@ public class ActModelServiceImpl implements IActModelService {
|
||||
});
|
||||
model.setKey(key);
|
||||
repositoryService.saveModel(model);
|
||||
// 解决设计器选择设置流程发起人设置变量有问题
|
||||
JsonNode jsonNode = objectMapper.readTree(values.getFirst("json_xml"));
|
||||
// 校验流程标识
|
||||
String processId = jsonNode.get("properties").get("process_id").textValue();
|
||||
@ -382,7 +381,7 @@ public class ActModelServiceImpl implements IActModelService {
|
||||
public ResultListDataRepresentation getUsers(String filter) {
|
||||
|
||||
LambdaQueryWrapper<SysUser> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.like(org.dromara.common.core.utils.StringUtils.isNotBlank(filter), SysUser::getNickName, filter);
|
||||
wrapper.like(StringUtils.isNotBlank(filter), SysUser::getNickName, filter);
|
||||
List<SysUser> sysUsers = sysUserMapper.selectList(wrapper);
|
||||
List<UserRepresentation> userRepresentations = new ArrayList<>();
|
||||
for (SysUser sysUser : sysUsers) {
|
||||
|
||||
@ -322,6 +322,9 @@ public class WorkflowUtils {
|
||||
* @param businessKey 业务id
|
||||
*/
|
||||
public static void setProcessInstanceVo(Object obj, String businessKey) {
|
||||
if (StringUtils.isBlank(businessKey)) {
|
||||
return;
|
||||
}
|
||||
ActHiProcinst actHiProcinst = I_ACT_HI_PROCINST_SERVICE.selectByBusinessKey(businessKey);
|
||||
if (actHiProcinst == null) {
|
||||
ProcessInstanceVo processInstanceVo = new ProcessInstanceVo();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user