zhongrj
2024-11-19 0aa2c9095e7d1bcfa5a5e6666fc57d24d5533c73
企业详情查询修改
3 files modified
11 ■■■■ changed files
src/main/java/org/springblade/modules/yw/controller/FirmInfoController.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/yw/mapper/FirmInfoMapper.xml 3 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/yw/vo/FirmInfoVO.java 6 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/yw/controller/FirmInfoController.java
@@ -142,7 +142,7 @@
     * @param firmInfo
     * @return
     */
        @GetMapping("/fuzzyQuery")
    @GetMapping("/fuzzyQuery")
    @ApiOperationSupport(order = 10)
    @ApiOperation(value = "模糊查询企业名称、应急空间名称、风险源名称", notes = "传入firmInfo")
    public R fuzzyQuery(FirmInfoVO firmInfo) {
src/main/java/org/springblade/modules/yw/mapper/FirmInfoMapper.xml
@@ -17,7 +17,8 @@
    <select id="getDetail" resultType="org.springblade.modules.yw.vo.FirmInfoVO">
        select
        yfi.*,
        yrt.per_in_cha as rescuePerName,yrt.per_in_cha_pho as rescuePerPhone
        yrt.per_in_cha as rescuePerName,yrt.per_in_cha_pho as rescuePerPhone,
        yrt.per_in_cha_two as rescuePerNameTwo,yrt.per_in_cha_pho_two as rescuePerPhoneTwo
         from yw_firm_info yfi
        left join yw_rescue_team yrt on yrt.firm_id = yfi.id and yrt.is_deleted = 0
        where yfi.is_deleted = 0
src/main/java/org/springblade/modules/yw/vo/FirmInfoVO.java
@@ -15,4 +15,10 @@
    @ApiModelProperty(value = "救援队伍人员电话")
    private String rescuePerPhone;
    @ApiModelProperty(value = "救援队伍人员姓名2")
    private String rescuePerNameTwo;
    @ApiModelProperty(value = "救援队伍人员电话2")
    private String rescuePerPhoneTwo;
}