This commit is contained in:
2026-04-24 09:32:12 +08:00
parent 779f8b27b5
commit b01b757321
3 changed files with 7 additions and 3 deletions
@@ -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