|
|
@@ -69,7 +69,7 @@ public class ThirdPartyWorkflowJob extends AbstractJob{
|
|
|
}
|
|
|
|
|
|
protected void startWorkflow(String tableName, String formKey, String defKey, Integer nodeNum) {
|
|
|
- String fetchSql = "SELECT id_ FROM %s WHERE shi_fou_guo_shen_='待编制'";
|
|
|
+ String fetchSql = "SELECT id_ FROM %s WHERE shi_fou_guo_shen_='待推送'";
|
|
|
fetchSql = String.format(fetchSql,tableName);
|
|
|
List<Map<String, Object>> list = (List<Map<String, Object>>) commonDao.query(fetchSql);
|
|
|
if (BeanUtils.isEmpty(list)) return;
|
|
|
@@ -84,7 +84,7 @@ public class ThirdPartyWorkflowJob extends AbstractJob{
|
|
|
result.getState();
|
|
|
if (nodeNum >1) {
|
|
|
//流程节点大于1的要改变状态避免被下次定时任务查到
|
|
|
- String updateSql = "update "+tableName+" set shi_fou_guo_shen_='已编制' where id_='"+objectMap.get("id_")+"'";
|
|
|
+ String updateSql = "update "+tableName+" set shi_fou_guo_shen_='待编制' where id_='"+objectMap.get("id_")+"'";
|
|
|
commonDao.execute(updateSql);
|
|
|
}
|
|
|
}
|