代码提交
This commit is contained in:
parent
e2abcc0df8
commit
116484404c
|
|
@ -0,0 +1,9 @@
|
|||
package com.bonus.web.controller.archive;
|
||||
|
||||
/**
|
||||
* @Author:liang.chao
|
||||
* @Date:2025/9/18 - 16:06
|
||||
*/
|
||||
public class FileTransferRecordController {
|
||||
|
||||
}
|
||||
|
|
@ -44,6 +44,18 @@ public class TransferApplyController extends BaseController {
|
|||
}
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取工程下拉")
|
||||
@GetMapping("getProSelect")
|
||||
@SysLog(title = "获取工程下拉", module = "数据/档案移交->档案移交申请", businessType = OperaType.QUERY, details = "获取工程下拉", logType = 1)
|
||||
public AjaxResult getProSelect(TransferApplyDto dto) {
|
||||
try {
|
||||
List<SelectDto> list = transferApplyService.getProSelect(dto);
|
||||
return AjaxResult.success(list);
|
||||
} catch (Exception e) {
|
||||
log.error(e.toString(), e);
|
||||
return AjaxResult.error("请求出错了");
|
||||
}
|
||||
}
|
||||
@ApiOperation(value = "获取部门下拉")
|
||||
@GetMapping("getDeptSelect")
|
||||
@SysLog(title = "获取部门下拉", module = "数据/档案移交->档案移交申请", businessType = OperaType.QUERY, details = "获取部门下拉", logType = 1)
|
||||
|
|
|
|||
|
|
@ -34,4 +34,6 @@ public interface TransferApplyMapper {
|
|||
Integer addTransferAuditRecord(TransferApplyDto dto);
|
||||
|
||||
List<SelectDto> getDeptSelect(TransferApplyDto dto);
|
||||
|
||||
List<SelectDto> getProSelect(TransferApplyDto dto);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,4 +24,6 @@ public interface TransferApplyService {
|
|||
AjaxResult audit(TransferApplyDto dto);
|
||||
|
||||
List<SelectDto> getDeptSelect(TransferApplyDto dto);
|
||||
|
||||
List<SelectDto> getProSelect(TransferApplyDto dto);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,4 +101,9 @@ public class TransferApplyServiceImpl implements TransferApplyService {
|
|||
public List<SelectDto> getDeptSelect(TransferApplyDto dto) {
|
||||
return transferApplyMapper.getDeptSelect(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<SelectDto> getProSelect(TransferApplyDto dto) {
|
||||
return transferApplyMapper.getProSelect(dto);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -342,5 +342,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
del_flag = '0'
|
||||
AND LENGTH(ancestors) - LENGTH(REPLACE(ancestors, ',', '')) + 1 = 3
|
||||
</select>
|
||||
<select id="getProSelect" resultType="com.bonus.web.domain.SelectDto">
|
||||
SELECT
|
||||
id,
|
||||
pro_name AS name
|
||||
FROM
|
||||
da_ky_project
|
||||
WHERE
|
||||
del_flag = '0' and file_status = '1'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue