From 5d6579fb82b0fc9b5b5771aec73f1a5ff92b425b Mon Sep 17 00:00:00 2001 From: mashuai Date: Sat, 9 Dec 2023 16:37:03 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/BmMachinistInfoServiceImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java index f972c17..394c9a5 100644 --- a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java +++ b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java @@ -3,9 +3,11 @@ package com.bonus.zlpt.bigscreen.service.impl; import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; import com.bonus.zlpt.bigscreen.mapper.BmMachinistInfoMapper; import com.bonus.zlpt.bigscreen.service.BmMachinistInfoService; +import com.bonus.zlpt.company.api.enums.CompanyLtdEnum; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -27,7 +29,12 @@ public class BmMachinistInfoServiceImpl implements BmMachinistInfoService { */ @Override public List selectMachinistInfoList() { - return infoMapper.selectMachinistInfoList(); + List list = infoMapper.selectMachinistInfoList(); + ArrayList companyInfoVos = new ArrayList<>(); + for (CompanyInfoVo companyInfoVo : list) { + companyInfoVo.setOwnCo(CompanyLtdEnum.getNameByCode(Integer.parseInt(companyInfoVo.getOwnCo()))); + } + return companyInfoVos; } } From 11ba920fcc89c41d8df33bbb30e86421939caf9d Mon Sep 17 00:00:00 2001 From: mashuai Date: Sat, 9 Dec 2023 16:37:28 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlpt-modules/zlpt-bigScreen/pom.xml | 12 +++++++ .../impl/BmCompanyInfoServiceImpl.java | 25 +++++++++++---- .../service/impl/MaDevInfoServiceImpl.java | 31 ++++++++++++++++--- .../resources/mapper/BmCompanyInfoMapper.xml | 4 +-- .../main/resources/mapper/MaDevInfoMapper.xml | 8 ++--- 5 files changed, 64 insertions(+), 16 deletions(-) diff --git a/zlpt-modules/zlpt-bigScreen/pom.xml b/zlpt-modules/zlpt-bigScreen/pom.xml index fecdbc0..eefd4f5 100644 --- a/zlpt-modules/zlpt-bigScreen/pom.xml +++ b/zlpt-modules/zlpt-bigScreen/pom.xml @@ -82,6 +82,18 @@ com.bonus.zlpt zlpt-common-security + + com.bonus.zlpt + zlpt-api-equip + 3.6.3 + compile + + + com.bonus.zlpt + zlpt-api-company + 3.6.3 + compile + diff --git a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java index e6bd0ba..2fe98b0 100644 --- a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java +++ b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java @@ -1,14 +1,14 @@ package com.bonus.zlpt.bigscreen.service.impl; -import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; -import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; -import com.bonus.zlpt.bigscreen.domain.vo.LatVo; -import com.bonus.zlpt.bigscreen.domain.vo.LonVo; +import com.bonus.zlpt.bigscreen.domain.vo.*; import com.bonus.zlpt.bigscreen.mapper.BmCompanyInfoMapper; import com.bonus.zlpt.bigscreen.service.BmCompanyInfoService; +import com.bonus.zlpt.company.api.enums.CompanyTypeEnum; +import com.bonus.zlpt.equip.api.enums.MaStatusEnum; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.ArrayList; import java.util.List; /** @@ -30,7 +30,13 @@ public class BmCompanyInfoServiceImpl implements BmCompanyInfoService { */ @Override public List selectTypeList() { - return bmCompanyInfoMapper.selectTypeList(); + List list = bmCompanyInfoMapper.selectTypeList(); + ArrayList typeVos = new ArrayList<>(); + for (CoTypeVo coTypeVo : list) { + coTypeVo.setCoType(CompanyTypeEnum.getNameByCode(Integer.parseInt(coTypeVo.getCoType()))); + typeVos.add(coTypeVo); + } + return typeVos; } /** @@ -39,7 +45,14 @@ public class BmCompanyInfoServiceImpl implements BmCompanyInfoService { */ @Override public List selectColtdList() { - return bmCompanyInfoMapper.selectColtdList(); + List list = bmCompanyInfoMapper.selectColtdList(); + ArrayList coltdTypeVos = new ArrayList<>(); + for (ColtdTypeVo coltdTypeVo : list) { + coltdTypeVo.setMaStatus(MaStatusEnum.getNameByCode(Integer.parseInt(coltdTypeVo.getMaStatus()))); + coltdTypeVo.setCompanyType(CompanyTypeEnum.getNameByCode(Integer.parseInt(coltdTypeVo.getCompanyType()))); + coltdTypeVos.add(coltdTypeVo); + } + return coltdTypeVos; } /** diff --git a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java index 6d45694..5a74339 100644 --- a/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java +++ b/zlpt-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java @@ -6,9 +6,12 @@ import com.bonus.zlpt.bigscreen.domain.vo.MaIdVo; import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; import com.bonus.zlpt.bigscreen.mapper.MaDevInfoMapper; import com.bonus.zlpt.bigscreen.service.MaDevInfoService; +import com.bonus.zlpt.company.api.enums.CompanyLtdEnum; +import com.bonus.zlpt.equip.api.enums.MaStatusEnum; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.ArrayList; import java.util.List; /** @@ -29,7 +32,13 @@ public class MaDevInfoServiceImpl implements MaDevInfoService { */ @Override public List selectMaDevInfoList() { - return maDevInfoMapper.selectMaDevInfoList(); + List typeVos = maDevInfoMapper.selectMaDevInfoList(); + List coTypeVos = new ArrayList<>(); + for (CoTypeVo typeVo : typeVos) { + typeVo.setCoType(CompanyLtdEnum.getNameByCode(Integer.parseInt(typeVo.getCoType()))); + coTypeVos.add(typeVo); + } + return coTypeVos; } /** @@ -58,7 +67,13 @@ public class MaDevInfoServiceImpl implements MaDevInfoService { */ @Override public List selectTypeList() { - return maDevInfoMapper.selectTypeList(); + List list = maDevInfoMapper.selectTypeList(); + ArrayList typeVos = new ArrayList<>(); + for (TypeVo typeVo : list) { + typeVo.setMaStatus(MaStatusEnum.getNameByCode(Integer.parseInt(typeVo.getMaStatus()))); + typeVos.add(typeVo); + } + return typeVos; } /** @@ -68,7 +83,13 @@ public class MaDevInfoServiceImpl implements MaDevInfoService { */ @Override public List selectMaTypeList() { - return maDevInfoMapper.selectMaTypeList(); + List list = maDevInfoMapper.selectMaTypeList(); + ArrayList typeVos = new ArrayList<>(); + for (TypeVo typeVo : list) { + typeVo.setMaStatus(MaStatusEnum.getNameByCode(Integer.parseInt(typeVo.getMaStatus()))); + typeVos.add(typeVo); + } + return typeVos; } /** @@ -87,7 +108,9 @@ public class MaDevInfoServiceImpl implements MaDevInfoService { */ @Override public MaIdVo selectListById(String maId) { - return maDevInfoMapper.selectListById(maId); + MaIdVo maIdVo = maDevInfoMapper.selectListById(maId); + maIdVo.setMaStatus(MaStatusEnum.getNameByCode(Integer.parseInt(maIdVo.getMaStatus()))); + return maIdVo; } } diff --git a/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/BmCompanyInfoMapper.xml b/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/BmCompanyInfoMapper.xml index e102a7d..d781919 100644 --- a/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/BmCompanyInfoMapper.xml +++ b/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/BmCompanyInfoMapper.xml @@ -7,7 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" JOIN bm_company_info c ON m.own_co = c.company_id JOIN gps_real_info g ON m.gps_code = g.gps_code WHERE - m.ma_status IN ('在租', '自有', '待租') and m.is_active = '1' + m.ma_status IN ('16', '17', '43') and m.is_active = '1' GROUP BY c.company_ltd, m.ma_status, g.lon, g.lat,maId diff --git a/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/MaDevInfoMapper.xml b/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/MaDevInfoMapper.xml index 2e61017..f8a0133 100644 --- a/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/MaDevInfoMapper.xml +++ b/zlpt-modules/zlpt-bigScreen/src/main/resources/mapper/MaDevInfoMapper.xml @@ -9,7 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SELECT bc.company_ltd AS coType, COUNT(*) AS Count FROM ma_dev_info md JOIN bm_company_info bc ON md.own_co = bc.company_id - WHERE md.ma_status = '自有' and md.is_active = '1' + WHERE md.ma_status = '43' and md.is_active = '1' GROUP BY bc.company_ltd @@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SELECT mti.type_name as ownCo, COUNT(*) as count FROM ma_type_info mti INNER JOIN ma_dev_info mdi ON mti.type_id = mdi.type_id - WHERE mdi.ma_status = '在租' and mdi.is_active = '1' + WHERE mdi.ma_status = '17' and mdi.is_active = '1' GROUP BY mti.type_name ORDER BY count DESC @@ -32,14 +32,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" From 42ea13df4b802d9be3dcedd5b1f440bb13c783c0 Mon Sep 17 00:00:00 2001 From: sxu <1539530615@qq.com> Date: Sat, 9 Dec 2023 16:53:18 +0800 Subject: [PATCH 03/11] fix --- .../equip/controller/DevInfoController.java | 9 +++++ .../zlpt/equip/mapper/DevInfoMapper.java | 5 +++ .../zlpt/equip/service/IDevInfoService.java | 2 + .../service/impl/DevInfoServiceImpl.java | 40 +++++++++++++++++++ .../main/resources/mapper/DevInfoMapper.xml | 11 +++++ 5 files changed, 67 insertions(+) diff --git a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/controller/DevInfoController.java b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/controller/DevInfoController.java index 90cde97..58ae5bd 100644 --- a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/controller/DevInfoController.java +++ b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/controller/DevInfoController.java @@ -47,6 +47,15 @@ public class DevInfoController extends BaseController return getDataTable(list); } + @ApiOperation(value = "收藏装备列表") + @PostMapping("/userCollectList") + public TableDataInfo userCollectList(@RequestBody DevInfoVo devInfo) + { + startPage(devInfo.getPageNum(), devInfo.getPageSize()); + List list = devInfoService.selectUserCollectList(devInfo); + return getDataTable(list); + } + // @RequiresPermissions("equip:info:list") @ApiOperation(value = "装备推荐列表") @GetMapping("/hotList") diff --git a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/mapper/DevInfoMapper.java b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/mapper/DevInfoMapper.java index b071596..f189ab4 100644 --- a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/mapper/DevInfoMapper.java +++ b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/mapper/DevInfoMapper.java @@ -3,6 +3,7 @@ package com.bonus.zlpt.equip.mapper; import java.util.List; import com.bonus.zlpt.common.core.domain.system.SysFile; import com.bonus.zlpt.equip.api.domain.DevInfo; +import com.bonus.zlpt.equip.api.domain.UserCollect; import com.bonus.zlpt.equip.api.domain.dto.InforMationDto; import com.bonus.zlpt.equip.api.domain.vo.DevInfoVo; import com.bonus.zlpt.system.api.domain.BaseAddress; @@ -24,6 +25,8 @@ public interface DevInfoMapper */ public DevInfoVo selectDevInfoByMaId(Long maId); + public int updateHotSearchByMaId(Long maId); + /** * 查询设备图片集 * @@ -42,6 +45,8 @@ public interface DevInfoMapper */ public List selectDevInfoList(DevInfo devInfo); + public List selectUserCollectByUserId(Long userId); + public List selectDevInfoHotList(DevInfo devInfo); /** diff --git a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/IDevInfoService.java b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/IDevInfoService.java index f014050..eabf03f 100644 --- a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/IDevInfoService.java +++ b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/IDevInfoService.java @@ -31,6 +31,8 @@ public interface IDevInfoService */ public List selectDevInfoList(DevInfoVo devInfo); + List selectUserCollectList(DevInfoVo devInfo); + public List selectDevInfoHotList(DevInfoVo devInfo); /** diff --git a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/impl/DevInfoServiceImpl.java b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/impl/DevInfoServiceImpl.java index d6b79c5..ce21ebd 100644 --- a/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/impl/DevInfoServiceImpl.java +++ b/zlpt-modules/zlpt-equip/src/main/java/com/bonus/zlpt/equip/service/impl/DevInfoServiceImpl.java @@ -2,8 +2,11 @@ package com.bonus.zlpt.equip.service.impl; import java.util.*; import java.util.stream.Collectors; + +import com.bonus.zlpt.common.security.utils.SecurityUtils; import com.bonus.zlpt.equip.api.domain.DevInfo; import com.bonus.zlpt.equip.api.domain.SysFileInfo; +import com.bonus.zlpt.equip.api.domain.UserCollect; import com.bonus.zlpt.equip.api.domain.dto.InforMationDto; import com.bonus.zlpt.equip.api.domain.vo.DevInfoVo; import com.bonus.zlpt.common.core.domain.system.SysFile; @@ -11,6 +14,7 @@ import com.bonus.zlpt.common.core.utils.DateUtils; import com.bonus.zlpt.equip.api.enums.MaStatusEnum; import com.bonus.zlpt.system.api.domain.BaseAddress; import com.bonus.zlpt.system.api.domain.SysDic; +import com.bonus.zlpt.system.api.model.LoginUser; import org.springframework.beans.BeanUtils; import com.bonus.zlpt.equip.mapper.SysFileInfoMapper; import org.springframework.stereotype.Service; @@ -51,6 +55,8 @@ public class DevInfoServiceImpl implements IDevInfoService public DevInfoVo selectDevInfoByMaId(Long maId) { DevInfoVo devInfoVo = devInfoMapper.selectDevInfoByMaId(maId); + //更新搜索量 + devInfoMapper.updateHotSearchByMaId(maId); try { List files = devInfoMapper.getFilesByMaId(maId); if (!CollectionUtils.isEmpty(files) && files.get(0) != null) { @@ -112,6 +118,40 @@ public class DevInfoServiceImpl implements IDevInfoService return list; } + /** + * 查询设备收藏列表 + * + * @param devInfo 设备信息 + * @return 设备信息 + */ + @Override + public List selectUserCollectList(DevInfoVo devInfo) + { + List result = new ArrayList<>(); + result = devInfoMapper.selectDevInfoList(devInfo); + LoginUser user = SecurityUtils.getLoginUser(); + if (Objects.nonNull(user)) { + List userCollectList = devInfoMapper.selectUserCollectByUserId(user.getUserid()); + result = filterUserCollect(result, userCollectList); + } + fillInMaStatusStr(result); + fillInCityStr(result); + return result; + } + + private List filterUserCollect(List list, List userCollectList) { + List result = new ArrayList<>(); + for (DevInfoVo devInfoVo : list) { + for (UserCollect userCollect : userCollectList) { + if (devInfoVo.getMaId() == userCollect.getMaId()) { + result.add(devInfoVo); + } + } + } + return result; + } + + @Override public List selectDevInfoHotList(DevInfoVo devInfo) { diff --git a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml index a47baf2..a31a7dd 100644 --- a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml +++ b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml @@ -346,6 +346,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + + update ma_hot_search + set search_num = search_num + 1 + where ma_id = #{maId} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select d.*,c.company_name,c.create_time as company_create_time,c.logo_url as company_logo_url, - c.auth_phone,ty.type_name as device_name, - ty.parent_name as group_name,ty.grandpa_name as type_name, + c.auth_phone, mt1.type_name as device_name, + mt2.type_name as group_name, mt3.type_name as type_name, col.id as collect_id, up.status as is_audit,h.search_num from ma_dev_info d left join bm_company_info c on d.own_co = c.company_id @@ -252,13 +252,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join ma_up_off up on d.ma_id = up.ma_id left join ma_hot_search h on d.ma_id = h.ma_id left join ma_type_info t on d.type_id = t.type_id - left join ( - select tt.*, pp.type_name as grandpa_name from - (select t.*, p.type_name as parent_name,p.type_id as p_type_id, p.parent_id as p_parent_id - from ma_type_info t - left join ma_type_info p on t.parent_id=p.type_id) tt - left join ma_type_info pp on tt.p_parent_id = pp.type_id - ) ty on d.type_id=ty.type_id + left join ma_type_info mt1 on d.type_id = mt1.type_id + left join ma_type_info mt2 on mt1.parent_id = mt2.type_id + left join ma_type_info mt3 on mt2.parent_id = mt3.type_id where d.ma_id = #{maId} and d.is_active='1' From ebd9347a872ef110f5e41b90687e66e17dc910a7 Mon Sep 17 00:00:00 2001 From: sxu <1539530615@qq.com> Date: Sat, 9 Dec 2023 20:04:36 +0800 Subject: [PATCH 07/11] fix --- .../main/resources/mapper/DevInfoMapper.xml | 39 ++++--------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml index 9c0a72e..fa6d178 100644 --- a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml +++ b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml @@ -48,18 +48,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - - - - - - - - - - - - - - - - - - - - - + insert into ma_dev_info - ma_id, - code, - type_id, - ma_status, - lease_scope, - location, - provinceId, - cityId, - areaId, - brand, - model_name, - production_date, - working_hours, - serial_number, - month_lease_price, - day_lease_price, - pic_url, - js_month_price, - js_day_price, - description, - gps_code, - own_co, - create_time, - creator, - update_time, - update_by, - specification, - deposit, - is_operator, - is_active, - update_time, - update_by, + ma_id, + code, + type_id, + ma_status, + lease_scope, + location, + province_id, + city_id, + area_id, + brand, + model_name, + production_date, + working_hours, + serial_number, + month_lease_price, + day_lease_price, + pic_url, + js_month_price, + js_day_price, + description, + gps_code, + own_co, + create_time, + creator, + update_time, + update_by, + specification, + deposit, + is_operator, + is_active, + update_time, + update_by, - #{maId}, - #{code}, - #{typeId}, - #{maStatus}, - #{leaseScope}, - #{location}, - #{provinceId}, - #{cityId}, - #{areaId}, - #{brand}, - #{modelName}, - #{productionDate}, - #{workingHours}, - #{serialNumber}, - #{monthLeasePrice}, - #{dayLeasePrice}, - #{picUrl}, - #{jsMonthPrice}, - #{jsDayPrice}, - #{description}, - #{gpsCode}, - #{ownCo}, - #{createTime}, - #{creator}, - #{update_time}, - #{update_by}, - #{specification}, - #{deposit}, - #{isOperator}, - #{isActive}, - #{updateTime}, - #{updateBy}, + #{maId}, + #{code}, + #{typeId}, + #{maStatus}, + #{leaseScope}, + #{location}, + #{provinceId}, + #{cityId}, + #{areaId}, + #{brand}, + #{modelName}, + #{productionDate}, + #{workingHours}, + #{serialNumber}, + #{monthLeasePrice}, + #{dayLeasePrice}, + #{picUrl}, + #{jsMonthPrice}, + #{jsDayPrice}, + #{description}, + #{gpsCode}, + #{ownCo}, + #{createTime}, + #{creator}, + #{update_time}, + #{update_by}, + #{specification}, + #{deposit}, + #{isOperator}, + #{isActive}, + #{updateTime}, + #{updateBy}, @@ -436,4 +436,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + \ No newline at end of file From f3ba5a361898afc7f54b89de68817e0a95fd40a0 Mon Sep 17 00:00:00 2001 From: sxu <1539530615@qq.com> Date: Sat, 9 Dec 2023 21:05:15 +0800 Subject: [PATCH 09/11] fix --- .../java/com/bonus/zlpt/equip/api/domain/vo/DevInfoVo.java | 6 ------ .../zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml | 6 ++---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/zlpt-api/zlpt-api-equip/src/main/java/com/bonus/zlpt/equip/api/domain/vo/DevInfoVo.java b/zlpt-api/zlpt-api-equip/src/main/java/com/bonus/zlpt/equip/api/domain/vo/DevInfoVo.java index 358661e..62b3532 100644 --- a/zlpt-api/zlpt-api-equip/src/main/java/com/bonus/zlpt/equip/api/domain/vo/DevInfoVo.java +++ b/zlpt-api/zlpt-api-equip/src/main/java/com/bonus/zlpt/equip/api/domain/vo/DevInfoVo.java @@ -38,18 +38,12 @@ public class DevInfoVo extends DevInfo { private String[] pictures; @ApiModelProperty(value = "关键词") private String keyWord; - /* 是否审核通过, ma_up_off:status, 1=通过, 2驳回 */ - @ApiModelProperty(value = "是否审核通过") - private String isAudit; @ApiModelProperty(value = "搜索数量") private Long searchNum; @ApiModelProperty(value = "检验pdf") private String examinationPdf; @ApiModelProperty(value = "保险pdf") private String insurancePdf; - /** 1上架,2下架*/ - @ApiModelProperty(value = "上下架类别") - private String type; /**上下架id*/ @ApiModelProperty(value = "上下架id") private int upId; diff --git a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml index fb75fc7..d0c373a 100644 --- a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml +++ b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml @@ -48,13 +48,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"