|
@@ -97,6 +97,8 @@ public class BpmApprovalStatusServiceImpl implements IBpmApprovalStatusService {
|
|
|
|
|
|
@Override
|
|
|
public int updateApprovalStatusByTableName(String tableName, String state, String where) {
|
|
|
- return bpmApprovalStatusMapper.updateApprovalStatusByTableName(tableName, state, where);
|
|
|
+ // 如果ID为不规则数字或编号需要使用‘’表示整体,否则会被截断
|
|
|
+ String endWhere = where.split("=")[0] + "=\'" + where.split("=")[1] + "\'";
|
|
|
+ return bpmApprovalStatusMapper.updateApprovalStatusByTableName(tableName, state, endWhere);
|
|
|
}
|
|
|
}
|