Commit 68e52203 by zhiwj

修改url

parent 72ad8d77
......@@ -56,4 +56,6 @@ public interface Constants {
*/
String ENTERPRISE_BILLING_SMS_PACKAGE_COUNT = "enterprise_billing_sms_package_count";
String AUDIT_TODO_URL = "/damo-system/user/approve";
}
......@@ -71,7 +71,8 @@ public class TodoItemDTO implements Serializable {
private Integer status;
/**
* 存事项的需要反查的内容, 一般是id
* 跳转的url 不加域名 比如: /damo-system/user/approve?id=1
*
*/
@NotBlank(message = "url不能为空", groups = SaveValidView.class)
private String itemInfoUrl;
......
......@@ -157,7 +157,7 @@ public class AuditLogApiServiceImpl implements AuditLogApiService {
// 事项code
todoItemDTO.setItemType(com.gic.enterprise.constant.Constants.TODO_ITEM_AUDIT);
// todo 事项url
todoItemDTO.setItemInfoUrl("www.baidu.com?auditLogId=" + auditLogId);
todoItemDTO.setItemInfoUrl(com.gic.enterprise.constant.Constants.AUDIT_TODO_URL + "?auditLogId=" + auditLogId);
todoItemApiService.saveTodoItem(todoItemDTO);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment