|
|
@@ -535,7 +535,7 @@ public class BpmInst extends AbstractDomain<String, BpmInstPo> {
|
|
|
if (BeanUtils.isNotEmpty(po.getBpmnDefId())){
|
|
|
Map<String, Object> defMap = commonDao().queryOne("select BO_CODE_ from ibps_bpm_def where BPMN_DEF_ID_ = '" + po.getBpmnDefId() + "' ");
|
|
|
if (BeanUtils.isNotEmpty(defMap) && BeanUtils.isNotEmpty(defMap.get("BO_CODE_"))) {
|
|
|
- String sql = "select bian_zhi_shi_jian,bian_zhi_bu_men_,di_dian_ from t_" + defMap.get("BO_CODE_") + " where id_ ='"+po.getBizKey()+"'";
|
|
|
+ String sql = "select bian_zhi_shi_jian,bian_zhi_bu_men_,di_dian_ ,create_by_ from t_" + defMap.get("BO_CODE_") + " where id_ ='"+po.getBizKey()+"'";
|
|
|
Map<String,Object> boDataMap = commonDao().queryOne(sql);
|
|
|
if (BeanUtils.isNotEmpty(boDataMap)){
|
|
|
if (BeanUtils.isNotEmpty(boDataMap.get("bian_zhi_shi_jian"))){
|
|
|
@@ -547,6 +547,9 @@ public class BpmInst extends AbstractDomain<String, BpmInstPo> {
|
|
|
if (BeanUtils.isNotEmpty(boDataMap.get("di_dian_"))){
|
|
|
po.setLocation(boDataMap.get("di_dian_").toString());
|
|
|
}
|
|
|
+ if (BeanUtils.isNotEmpty(boDataMap.get("create_by_"))){//create_by_值为1导致不显示,如果流程发起人不是编制人是否会有问题,暂时先不加表单级别控制
|
|
|
+ po.setCreateBy(boDataMap.get("create_by_").toString());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|