public String execute(ProcessData datas) throws AppException {
Task task = datas.getTask();
String result = null;
boolean capured = false;
try {
capured = task.tryLock();
if (!capured) {
throw new AppException("E1200001",task.getTaskid());
}
//业务处理
result = this.process(datas.getData());