1
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ public class OpinionSchoolAuditController {
|
||||
@SLog(tag = "意见管理系统-校工会审核", msg = "修改意见")
|
||||
public Result edit(@Param("info") OpinionInfo opinionInfo) {
|
||||
// The school-union audit only edits opinion category here, so update the target field explicitly.
|
||||
dao.update(OpinionInfo.class, org.nutz.dao.Chain.make("typeId", opinionInfo.getTypeId()), Cnd.where("id", "=", opinionInfo.getId()));
|
||||
dao.update(opinionInfo);
|
||||
|
||||
ProcessInstance instance = dao.fetch(ProcessInstance.class, Cnd.where(ProcessInstance::getBusinessNo, "=", opinionInfo.getId()));
|
||||
Dict dict = FlowUtil.variableToDict(instance.getVariable());
|
||||
|
||||
@@ -35,9 +35,9 @@ public class OpinionInfo extends BaseModel {
|
||||
|
||||
@Column
|
||||
@Comment("意见名称")
|
||||
@ColDefine(type = ColType.VARCHAR, width = 100)
|
||||
@ColDefine(type = ColType.VARCHAR, width = 500)
|
||||
@NotBlank(message = "意见名称不能为空")
|
||||
@Size(max = 100)
|
||||
@Size(max = 500)
|
||||
private String name;
|
||||
|
||||
@Column
|
||||
|
||||
Reference in New Issue
Block a user