待阅移动端界面加入方案图判断

This commit is contained in:
zhaol 2025-01-24 11:21:52 +08:00
parent 7a62322c29
commit 6c08ca6398
3 changed files with 96 additions and 95 deletions

View File

@ -442,10 +442,10 @@ public class TaskListener extends ProcessPubicListener {
public void updateCEO_Approve(String taskId,String processId,ProcessExecutionContext pec) throws IOException, DocumentException {
BO bo_act_coe_publish1 = SDK.getBOAPI().query("BO_ACT_COE_PUBLISH").detailByBindId(processId);
BO bo=SDK.getBOAPI().query("BO_ACT_DATA_MONITORING").detailByBindId(processId);
if(bo_act_coe_publish1!=null){
if(bo==null){
String approve1=bo_act_coe_publish1.getString("CEO_APPROVE");
if(approve1.equals("Y")){
ProcessInstance processInst_1 = SDK.getProcessAPI().createProcessInstance("obj_d57df7db3e6845b3b30e7ff3cdd591c9","10036614","流程标题名称为"+pec.getProcessInstance().getTitle()+"总裁数据代办异常");
BO bo_faid = new BO();
bo_faid.set("TASKID",taskId);
@ -551,6 +551,8 @@ public class TaskListener extends ProcessPubicListener {
}
}
}
/**
* 获取某个审批步骤的 数据
*

View File

@ -663,7 +663,6 @@ public class TaskController {
// }
String appendHtml=null;
System.out.println("substring===="+substring);
try {
//如果判断字符串没有span标签则通过系统插入span标签
Document doc = Jsoup.parse(substring);
@ -936,7 +935,7 @@ public class TaskController {
String methodId = DBSql.getString(conn,"select PLMETHODID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("PUBLISHFILEID") + "'");
if (UtilString.isNotEmpty(methodId)) {
if (methodId.equals("control.policy")) {
if (methodId.equals("control.policy")|| methodId.equals("process.scheme")) {
sql_upfile = "select * from APP_ACT_COE_PAL_UPFILE where palrepositoryid in (select ID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("PUBLISHFILEID") + "') AND FILETYPE = 'f' ORDER BY FILENAME ASC";
}
@ -1122,7 +1121,7 @@ public class TaskController {
.getString(conn,"select PLMETHODID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("STOPFILEID") + "'");
if (UtilString.isNotEmpty(methodId)) {
if (methodId.equals("control.policy")) {
if (methodId.equals("control.policy")|| methodId.equals("process.scheme")) {
sql_upfile = "select * from APP_ACT_COE_PAL_UPFILE where palrepositoryid in (select ID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("STOPFILEID") + "') AND FILETYPE = 'f' ORDER BY FILENAME ASC";
}
@ -1298,7 +1297,7 @@ public class TaskController {
String methodId = DBSql.getString(conn,"select PLMETHODID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("CHANGEDFILEIDNEW") + "'");
if (UtilString.isNotEmpty(methodId)) {
if (methodId.equals("control.policy")) {
if (methodId.equals("control.policy")|| methodId.equals("process.scheme")) {
sql_upfile = "select * from APP_ACT_COE_PAL_UPFILE where palrepositoryid in (select ID from APP_ACT_COE_PAL_REPOSITORY where ID= '"
+ bo.getString("CHANGEDFILEIDNEW")
+ "') AND FILETYPE = 'f' ORDER BY FILENAME ASC";