| | |
| | | public void exportWord(@PathVariable("id") Long id, HttpServletRequest request, HttpServletResponse response) { |
| | | softwareTestOrderService.exportWord(id, request, response); |
| | | } |
| | | |
| | | /* @GetMapping("getCode") |
| | | @ApiOperation("编号") |
| | | public Result<List<String>> getCode() { |
| | | return Result.ok( projectService.getCode()); |
| | | } |
| | | |
| | | @GetMapping("getProject/{code}") |
| | | @ApiOperation("项目数据") |
| | | public Result<Project> getProject(@Param("code") String code) { |
| | | return Result.ok(projectService.getProject(code)); |
| | | }*/ |
| | | } |
| | |
| | | |
| | | List<Project> getList(Map<String, Object> params); |
| | | |
| | | /* List<String> getCode(); |
| | | |
| | | Project getProject(String code);*/ |
| | | } |
| | |
| | | <mapper namespace="com.zt.life.modules.project.dao.ProjectDao"> |
| | | |
| | | <select id="getList" resultType="com.zt.life.modules.project.model.Project"> |
| | | select a.* |
| | | from project a |
| | | select * |
| | | from project |
| | | <where> |
| | | a.is_delete = 0 |
| | | is_delete = 0 |
| | | <if test="whereSql!=null"> |
| | | and ${whereSql} |
| | | </if> |
| | |
| | | ORDER BY ${orderBySql} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--<select id="getCode" resultType="java.lang.String"> |
| | | SELECT p.CODE FROM Project p where p.is_delete =0 |
| | | </select> |
| | | |
| | | <select id="getProject" resultType="com.zt.life.modules.project.model.Project"> |
| | | SELECT * |
| | | FROM project |
| | | WHERE code = #{code} |
| | | and is_delete = 0 |
| | | </select>--> |
| | | |
| | | </mapper> |
| | |
| | | entrustUnitContWay: '', |
| | | entrustUnitContact: '', |
| | | entrustUnitName: '', |
| | | identity: '', |
| | | softwareIdentity: '', |
| | | isContract: '', |
| | | projectLeader: '', |
| | | projectReviewer: '', |