|
@@ -22,12 +22,14 @@ import com.jtgh.yjpt.dao.jyr.JyrNsDao;
|
|
|
import com.jtgh.yjpt.dao.zyfzndjy.GkwxhwzyfzblhhzbDao;
|
|
|
import com.jtgh.yjpt.dao.zyfzns.GkzyfznsDao;
|
|
|
import com.jtgh.yjpt.entity.BaseEntity;
|
|
|
+import com.jtgh.yjpt.entity.auth.UserEntity;
|
|
|
import com.jtgh.yjpt.entity.common.TaskInfoEntity;
|
|
|
import com.jtgh.yjpt.entity.jyr.JyrNsEntity;
|
|
|
import com.jtgh.yjpt.entity.zyfzndjy.GkwxhwzyfzblhhzEntity;
|
|
|
import com.jtgh.yjpt.entity.zyfzns.Gkwxhwzyfzns;
|
|
|
import com.jtgh.yjpt.service.common.WorkflowMangerService;
|
|
|
import com.jtgh.yjpt.service.impl.BaseWorkFlowServiceImpl;
|
|
|
+import com.jtgh.yjpt.service.impl.common.WorkflowMangerServiceImpl;
|
|
|
import com.jtgh.yjpt.service.task.TaskService;
|
|
|
import com.jtgh.yjpt.service.zyfzndjy.GkwxhwzyfzblhhzService;
|
|
|
import com.jtgh.yjpt.service.zyfzns.GkzyfznsService;
|
|
@@ -78,6 +80,14 @@ public class GkzyfznsServiceImpl extends
|
|
|
variables.put("role_sc", Constants.ROLE_TYPE_CITY_SC);
|
|
|
variables.put("role_sh", Constants.ROLE_TYPE_CITY_SH);
|
|
|
variables.put("role_pz", Constants.ROLE_TYPE_CITY_PZ);
|
|
|
+ UserEntity user = Utils.getCurrentUser();
|
|
|
+ if (data.getJyr() != null && data.getJyr().getZs() != null) {
|
|
|
+ variables.put(WorkflowMangerServiceImpl.KEY_ZS_ID, data
|
|
|
+ .getJyr().getZs());
|
|
|
+ } else if (user != null && user.getZs() != null) {
|
|
|
+ variables.put(WorkflowMangerServiceImpl.KEY_ZS_ID, user
|
|
|
+ .getZs().getId());
|
|
|
+ }
|
|
|
WorkFlowParam param = new WorkFlowParam();
|
|
|
// 设置流程发起人
|
|
|
if (StringUtils.isEmpty(param.getString(WorkFlowParam.AUDIT_USER))) {
|