提交 e0114e98 编写于 作者: L luojing

teamwork服务

上级 0b7599d8
......@@ -242,6 +242,12 @@ public class ActionUpdateSingleProperty extends BaseAction {
if(Task.priority_FIELDNAME.equalsIgnoreCase( property )){
mainValue = mainValue.split("\\|\\|")[0];
}
if(mainValue.equals("completed")){
mainValue = "已完成";
}
if(mainValue.equals("processing")){
mainValue = "执行中";
}
String dynamicDescription = personName + "将工作任务的[" + dynamicTitle + "]变更为:[" + mainValue + "]。";
if( StringUtils.isEmpty( mainValue ) && nullable ) {
Exception exception = new TaskPersistException( "工作任务属性["+ dynamicTitle +"]不允许为空,请检查您的输入。");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册