bug修复
This commit is contained in:
parent
eaeca09a11
commit
d2da43f5a3
@ -157,6 +157,7 @@ public class SmartBeamFieldBeamController {
|
||||
@ApiOperation(value = "制梁场统计分析", notes = "制梁场统计分析", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "projectSn", value = "项目sn", paramType = "query", required = true, dataType = "String"),
|
||||
@ApiImplicitParam(name = "pedestalType", value = "台座类型:1绑扎台座2制梁台座", paramType = "query", required = false, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/countSmartBeamFieldBeam")
|
||||
public Result<CountSmartBeamFieldBeamVo> countSmartBeamFieldBeam(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
|
||||
@ -39,6 +39,9 @@
|
||||
GROUP BY smart_beam_field_make_beam_pedestal_id) sbfbtp
|
||||
ON sbfmbp.id = sbfbtp.smart_beam_field_make_beam_pedestal_id
|
||||
where sbfmbp.project_sn = #{projectSn}
|
||||
<if test="pedestalType != null">
|
||||
and pedestal_type = #{pedestalType}
|
||||
</if>
|
||||
) t
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user