Commit 7c579c3e authored by wanglong's avatar wanglong

Merge branch 'developer' of http://39.98.45.134:8090/moa/amos-boot-biz into developer

parents 5251f7c7 8c3e4d28
...@@ -11,7 +11,7 @@ import lombok.Data; ...@@ -11,7 +11,7 @@ import lombok.Data;
public class OpenDto { public class OpenDto {
private String oldPhoto; //原照片 private String oldPhoto; //原照片
private String newPhoto; //新照片对比 private String newPhoto; //新照片
private String accord; //符合性 private String accord; //符合性
private String valid; //有效性 private String valid; //有效性
private String result;//结果 private String result;//结果
......
...@@ -42,4 +42,5 @@ public class PercentOfPassDto extends BaseDto { ...@@ -42,4 +42,5 @@ public class PercentOfPassDto extends BaseDto {
} }
...@@ -23,7 +23,7 @@ public interface VerifyMapper extends BaseMapper<Verify> { ...@@ -23,7 +23,7 @@ public interface VerifyMapper extends BaseMapper<Verify> {
* @return * @return
*/ */
List<Verify> commonality(String stage,SmartListDto smartListDto); List<Verify> commonality(String stage,SmartListDto smartListDto, List listId);
@Select("select * from tz_ugp_verify where target_info = #{targetInfo}") @Select("select * from tz_ugp_verify where target_info = #{targetInfo}")
Verify selectByTargetInfo(String targetInfo); Verify selectByTargetInfo(String targetInfo);
......
...@@ -62,6 +62,13 @@ ...@@ -62,6 +62,13 @@
pt.code like '%${smartListDto.projectCode}%' pt.code like '%${smartListDto.projectCode}%'
</if> </if>
<if test="listId != null and ! listId.isEmpty() and listId.size() > 0">
and vf.project_id in
<foreach collection="listId" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select> </select>
......
...@@ -41,7 +41,7 @@ private InstallationQualityImpl services; ...@@ -41,7 +41,7 @@ private InstallationQualityImpl services;
private WeldServiceImpl weld; private WeldServiceImpl weld;
//查看质量监检信息 //查看质量监检信息
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/find") @GetMapping(value = "/find")
@ApiOperation(httpMethod = "GET", value = "质量问题闭环管理-安装质量监检信息-质量监检信息", notes = "质量问题闭环管理-安装质量监检信息-质量监检信息") @ApiOperation(httpMethod = "GET", value = "质量问题闭环管理-安装质量监检信息-质量监检信息", notes = "质量问题闭环管理-安装质量监检信息-质量监检信息")
public ResponseModel<Page<PercentOfPassDto>> find(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<PercentOfPassDto>> find(@RequestParam(value = "current") int current, @RequestParam
......
...@@ -133,7 +133,7 @@ public class VerifyController extends BaseController { ...@@ -133,7 +133,7 @@ public class VerifyController extends BaseController {
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/selectTubular") @GetMapping(value = "/selectTubular")
@ApiOperation(httpMethod = "GET", value = "焊接管材检验信息列表", notes = "焊接管材检验信息列表") @ApiOperation(httpMethod = "GET", value = "焊接管材检验信息列表", notes = "焊接管材检验信息列表")
public ResponseModel<Page<SmartListDto>> selectTubular(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> selectTubular(@RequestParam(value = "current") int current, @RequestParam
...@@ -155,7 +155,7 @@ public class VerifyController extends BaseController { ...@@ -155,7 +155,7 @@ public class VerifyController extends BaseController {
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/selectWorker") @GetMapping(value = "/selectWorker")
@ApiOperation(httpMethod = "GET", value = "查询焊接人员检验信息列表", notes = "查询焊接人员检验信息列表") @ApiOperation(httpMethod = "GET", value = "查询焊接人员检验信息列表", notes = "查询焊接人员检验信息列表")
public ResponseModel<Page<SmartListDto>> selectWorker(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> selectWorker(@RequestParam(value = "current") int current, @RequestParam
...@@ -175,7 +175,7 @@ public class VerifyController extends BaseController { ...@@ -175,7 +175,7 @@ public class VerifyController extends BaseController {
* @param size * @param size
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/selectFacility") @GetMapping(value = "/selectFacility")
@ApiOperation(httpMethod = "GET", value = "查询焊接设备检验信息列表", notes = "查询焊接设备检验信息列表") @ApiOperation(httpMethod = "GET", value = "查询焊接设备检验信息列表", notes = "查询焊接设备检验信息列表")
public ResponseModel<Page<SmartListDto>> selectFacility(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> selectFacility(@RequestParam(value = "current") int current, @RequestParam
...@@ -196,7 +196,7 @@ public class VerifyController extends BaseController { ...@@ -196,7 +196,7 @@ public class VerifyController extends BaseController {
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/selectCraft") @GetMapping(value = "/selectCraft")
@ApiOperation(httpMethod = "GET", value = "查询焊接工艺检验信息列表", notes = "查询焊接工艺检验信息列表") @ApiOperation(httpMethod = "GET", value = "查询焊接工艺检验信息列表", notes = "查询焊接工艺检验信息列表")
public ResponseModel<Page<SmartListDto>> selectCraft(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> selectCraft(@RequestParam(value = "current") int current, @RequestParam
...@@ -216,7 +216,7 @@ public class VerifyController extends BaseController { ...@@ -216,7 +216,7 @@ public class VerifyController extends BaseController {
* @param size * @param size
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/selectVoltage") @GetMapping(value = "/selectVoltage")
@ApiOperation(httpMethod = "GET", value = "查询管道耐压检验信息列表", notes = "查询管道耐压检验信息列表") @ApiOperation(httpMethod = "GET", value = "查询管道耐压检验信息列表", notes = "查询管道耐压检验信息列表")
public ResponseModel<Page<SmartListDto>> selectVoltage(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> selectVoltage(@RequestParam(value = "current") int current, @RequestParam
...@@ -235,7 +235,7 @@ public class VerifyController extends BaseController { ...@@ -235,7 +235,7 @@ public class VerifyController extends BaseController {
* @param smartListDto * @param smartListDto
* @return * @return
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/depth") @GetMapping(value = "/depth")
@ApiOperation(httpMethod = "GET", value = "敷设质量", notes = "敷设质量") @ApiOperation(httpMethod = "GET", value = "敷设质量", notes = "敷设质量")
public ResponseModel<Page<SmartListDto>> depth(@RequestParam(value = "current") int current, @RequestParam public ResponseModel<Page<SmartListDto>> depth(@RequestParam(value = "current") int current, @RequestParam
...@@ -282,7 +282,7 @@ public class VerifyController extends BaseController { ...@@ -282,7 +282,7 @@ public class VerifyController extends BaseController {
/** /**
* cpp * cpp
* 主键id查询verity表 * 弹窗详情
* *
* @param * @param
* @return * @return
...@@ -295,14 +295,6 @@ public class VerifyController extends BaseController { ...@@ -295,14 +295,6 @@ public class VerifyController extends BaseController {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@GetMapping(value = "/photo")
@ApiOperation(httpMethod = "GET", value = "获取图片", notes = "获取图片")
public ResponseModel<Map> photo(@RequestParam Long sequenceNbr) {
Map map = new HashMap<>( );
map.put("newPhoto", "https://img2.baidu.com/it/u=806791452,2765805606&fm=253&fmt=auto&app=138&f=JPEG?w=350&h=500");
return ResponseHelper.buildResponse(map);
}
} }
......
...@@ -52,7 +52,6 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali ...@@ -52,7 +52,6 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
for (QualityInfo qualityInfo : qfList) { for (QualityInfo qualityInfo : qfList) {
PercentOfPassDto percentOfPassDto = new PercentOfPassDto ( ); PercentOfPassDto percentOfPassDto = new PercentOfPassDto ( );
percentOfPassDto.setName (qualityInfo.getProject ( ).getName ( )); percentOfPassDto.setName (qualityInfo.getProject ( ).getName ( ));
percentOfPassDto.setAddress (qualityInfo.getProject ( ).getAddress ( )); percentOfPassDto.setAddress (qualityInfo.getProject ( ).getAddress ( ));
percentOfPassDto.setProgressStatus (qualityInfo.getProject ( ).getProgressStatus ( )); percentOfPassDto.setProgressStatus (qualityInfo.getProject ( ).getProgressStatus ( ));
...@@ -115,13 +114,10 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali ...@@ -115,13 +114,10 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
} }
} }
//如果条件name为空的,直接查询全部 //如果条件name为空的,直接查询全部
page.setRecords (newsData); page.setRecords (newsData);
page.setTotal (newsData.size ()); page.setTotal (newsData.size ());
return page; return page;
} }
return page; return page;
} }
......
...@@ -181,8 +181,6 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD ...@@ -181,8 +181,6 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
/*焊评审核(后期优化) /*焊评审核(后期优化)
* @return * @return
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment