|
|
@@ -5,7 +5,6 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.kingdee.eas.base.permission.UserInfo;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
-import com.ibm.mq.commonservices.internal.utils.Message;
|
|
|
import com.kingdee.bos.BOSException;
|
|
|
import com.kingdee.bos.Context;
|
|
|
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;
|
|
|
@@ -71,17 +70,17 @@ public class SyncSignedFilesUtil {
|
|
|
// 判断是否已经同步过附件
|
|
|
boolean fivouchered = info.isFivouchered();
|
|
|
if (fivouchered) {
|
|
|
- throw new BOSException(Message.format("电子签全域状态总览表 [{0}],签署文件已经同步,请勿重复同步", info.getNumber()));
|
|
|
+ throw new BOSException(MessageFormat.format("电子签全域状态总览表 [{0}],签署文件已经同步,请勿重复同步", info.getNumber()));
|
|
|
}
|
|
|
// 检查e签宝流程ID是否存在
|
|
|
String signFlowId = info.getSignFlowId();
|
|
|
if (StringUtils.isBlank(signFlowId)) {
|
|
|
- throw new BOSException(Message.format("电子签全域状态总览表 [{0}],e签宝流程id为空!", info.getNumber()));
|
|
|
+ throw new BOSException(MessageFormat.format("电子签全域状态总览表 [{0}],e签宝流程id为空!", info.getNumber()));
|
|
|
}
|
|
|
// 检查关联的员工信息是否存在
|
|
|
PersonInfo person = info.getPerson();
|
|
|
if (person == null) {
|
|
|
- throw new BOSException(Message.format("电子签全域状态总览表 [{0}],员工为空!", info.getNumber()));
|
|
|
+ throw new BOSException(MessageFormat.format("电子签全域状态总览表 [{0}],员工为空!", info.getNumber()));
|
|
|
}
|
|
|
IFileTab iFileTab = FileTabFactory.getLocalInstance(ctx);
|
|
|
FileTabInfo fileTabInfo = iFileTab.getFileTabInfo("where person.id ='" + person.getId() + "'");
|