| | |
| | | } |
| | | |
| | | @ApiOperation("查询问卷列表通过部门病区代码") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/getSviLibTemplateByDeptCode") |
| | | public Map<String, Object> getSviLibTemplateByDeptCode(@RequestBody TemplateDeptVO templateDeptVO) { |
| | | templateDeptVO.setPageNum(PageUtils.getOffset(templateDeptVO.getPageNum(), templateDeptVO.getPageSize())); |
| | |
| | | AND a.svyid = b.tempid |
| | | where a.del_flag=0 |
| | | and b.del_flag=0 |
| | | <if test="orgid != null and orgid != ''">and a.orgid = #{orgid}</if> |
| | | <if test="deptCode != null ">and b.dept_code = #{deptCode}</if> |
| | | <if test="deptType != null ">and b.dept_type = #{deptType}</if> |
| | | <if test="type != null">and b.type=#{type}</if> |