parent
f2719bc46d
commit
2f0449075c
17 changed files with 538 additions and 132 deletions
@ -1,2 +1,4 @@ |
||||
alter table mp_appeal add column `source_type` int(4) default 0 COMMENT '数据来源 0:系统添加, 1:数据导入'; |
||||
alter table mp_appeal add column `handle_dept` bigint COMMENT '数据录入时, 处理部门'; |
||||
|
||||
alter table mp_appeal_visitor add column `sort` int(10) COMMENT '排序'; |
||||
|
||||
@ -0,0 +1,33 @@ |
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* Redistribution and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* Redistributions of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the distribution. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package org.springblade.common.constant; |
||||
|
||||
/** |
||||
* 通用常量 |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
public interface BusinessConstant { |
||||
|
||||
/** |
||||
* 启用禁用, 0:禁用, 1:启用 |
||||
*/ |
||||
Integer ENABLE_CODE_ENABLE = 1; |
||||
Integer ENABLE_CODE_DISABLE = 0; |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,59 @@ |
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* Redistribution and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* Redistributions of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the distribution. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package org.springblade.modules.business.dto; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* 服务窗口-纠纷关联表 |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
|
||||
@Data |
||||
public class ServerWindowsDisputeDTO implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 窗口ID |
||||
*/ |
||||
private Long swId; |
||||
|
||||
/** |
||||
* 窗口名称 |
||||
*/ |
||||
private String swName; |
||||
|
||||
/** |
||||
* 纠纷字典id |
||||
*/ |
||||
private Long disputeId; |
||||
|
||||
/** |
||||
* 诉求名称字符串 |
||||
*/ |
||||
private String disputeName; |
||||
|
||||
/** |
||||
* 状态 0:禁用, 1:启用 |
||||
*/ |
||||
private int status; |
||||
|
||||
} |
||||
@ -1,29 +1,53 @@ |
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* Redistribution and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* Redistributions of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the distribution. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package org.springblade.modules.business.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springblade.modules.business.entity.ServerWindowsDispute; |
||||
import org.springblade.core.mp.base.BaseService; |
||||
import org.springblade.modules.business.vo.ServerWindowsDisputeVO; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.PostMapping; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 服务类 |
||||
* 服务类 |
||||
* |
||||
* @author BladeX |
||||
*/ |
||||
public interface IServerWindowsDisputeService extends BaseService<ServerWindowsDispute> { |
||||
public interface IServerWindowsDisputeService extends IService<ServerWindowsDispute> { |
||||
|
||||
/** |
||||
* 获取窗口,诉求配置列表 |
||||
* |
||||
* @param swId |
||||
* @return |
||||
*/ |
||||
List<ServerWindowsDisputeVO> getServerWindowList(Long swId); |
||||
|
||||
/** |
||||
* 获取根据id获取详情 |
||||
* |
||||
* @param swId 窗口id |
||||
*/ |
||||
ServerWindowsDisputeVO detail(Long swId); |
||||
|
||||
/** |
||||
* 保存 |
||||
*/ |
||||
boolean saveEntity(ServerWindowsDisputeVO vo); |
||||
|
||||
/** |
||||
* 禁用/启用 |
||||
* |
||||
* @param swId 窗口id |
||||
*/ |
||||
boolean enable(Long swId); |
||||
|
||||
/** |
||||
* 删除 |
||||
* |
||||
* @param swId 窗口id |
||||
*/ |
||||
boolean delete(Long swId); |
||||
} |
||||
|
||||
@ -0,0 +1,59 @@ |
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* Redistribution and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* Redistributions of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the distribution. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package org.springblade.modules.business.vo; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* 服务窗口-纠纷关联表 |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
|
||||
@Data |
||||
public class ServerWindowsDisputeVO implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 窗口ID |
||||
*/ |
||||
private Long swId; |
||||
|
||||
/** |
||||
* 窗口名称 |
||||
*/ |
||||
private String swName; |
||||
|
||||
/** |
||||
* 纠纷字典id, 以逗号分割 |
||||
*/ |
||||
private String disputeIds; |
||||
|
||||
/** |
||||
* 诉求名称字符串, 以逗号分割 |
||||
*/ |
||||
private String disputeNames; |
||||
|
||||
/** |
||||
* 状态 0:禁用, 1:启用 |
||||
*/ |
||||
private int status; |
||||
|
||||
} |
||||
Loading…
Reference in new issue