Merge branch 'zigonggao_dev' into huacheng_test
| | |
| | | @ApiOperation("复制模板") |
| | | @PostMapping("/copy") |
| | | @Authorization |
| | | public ResultData copy(@RequestParam(value = "Id",required = false) String Id) |
| | | public ResultData copy(@RequestParam(value = "Id",required = false) String Id,@CurrentUser SysUser sysUser) |
| | | { |
| | | if(StringUtils.isEmpty(Id)) |
| | | { |
| | |
| | | { |
| | | return ResultData.error("模板不存在!"); |
| | | } |
| | | entity.setCreateUserId(sysUser.getUserId()); |
| | | entity.setName(entity.getName()+"(副本)"); |
| | | entity.setId(null); |
| | | return toAjax(iReplyTemplateService.insertConfig(entity)); |
| | |
| | | and department_id in (SELECT id from automessage_organization_chart where id=#{departmentId} or parent_id = #{departmentId}) |
| | | </if> |
| | | </where> |
| | | order by create_time |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | <select id="selectCountList" resultType="integer"> |