¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Author:YAN |
| | | */ |
| | | @Data |
| | | public class Dto5501 { |
| | | private String depotId; |
| | | private String depotType; |
| | | private String depotName; |
| | | private Double ua; |
| | | private Double ub; |
| | | private Double uc; |
| | | private Double ia; |
| | | private Double ib; |
| | | private Double ic; |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | } |
| | |
| | | |
| | | /** |
| | | * å
¥åºå¾
å¼ä»ãåºåºå¾
å¼ä»å°è£
|
| | | * |
| | | * @author chen |
| | | */ |
| | | @Data |
| | |
| | | private String progress; |
| | | private String progressName; |
| | | |
| | | private String storeKeeper; |
| | | private String storeKeeperName; |
| | | |
| | | private String fileName1; |
| | | private String fileName2; |
| | | |
| | |
| | | package com.ld.igds.phone35.mapper; |
| | | |
| | | |
| | | import com.ld.igds.phone35.dto.Dto5501; |
| | | import com.ld.igds.phone35.dto.DtoPhoneGas; |
| | | import com.ld.igds.phone35.dto.DtoPhonePest; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * è·åä»åºæ°ä½æ£æµä¿¡æ¯ãé»è®¤æ¯ä¸ªä»åºè·åææ°ç䏿¡ |
| | | * |
| | | * @param companyId |
| | | * @param deptId |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * è·åä»åºè«å®³æ£æµä¿¡æ¯ãé»è®¤æ¯ä¸ªä»åºè·åææ°ç䏿¡ |
| | | * |
| | | * @param companyId |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<DtoPhonePest> getPestByDepot(@Param("companyId") String companyId, @Param("deptId") String deptId); |
| | | |
| | | /** |
| | | * è·å è½è管ç-宿¶é
çµ ä¿¡æ¯ |
| | | * |
| | | * @param companyId |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<Dto5501> getRealEnergyByDept(@Param("companyId") String companyId, @Param("deptId") String deptId); |
| | | } |
| | |
| | | import com.ld.igds.phone35.param.Phone35InoutCommonParam; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | |
| | | |
| | | /** |
| | | * æ°çææº3.5ï¼æ°æ®æ¥è¯¢ |
| | | * |
| | | * @author chen |
| | | */ |
| | | @Component |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ç¨æ· |
| | | * |
| | | * @param username |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * è·ååºåºåè¡¨ä¿¡æ¯ |
| | | * |
| | | * @param companyId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * è·åä»åºåè¡¨ä¿¡æ¯ |
| | | * |
| | | * @param companyId |
| | | * @param deptId |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢åºå
¥åºä¿¡æ¯ï¼ç¨äºæ¥è¯¢åºå
¥åºè®°å½ãå¾
å¼ä»å表ç |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | |
| | | hql += " and deptId =:deptId"; |
| | | args.put("deptId", param.getDeptId()); |
| | | } |
| | | if(StringUtils.isNotEmpty(param.getDeptId())){ |
| | | if (StringUtils.isNotEmpty(param.getProgress())) { |
| | | hql += " and progress =:progress"; |
| | | args.put("progress", param.getProgress()); |
| | | } |
| | |
| | | hql += " and plateNum =:plateNum"; |
| | | args.put("plateNum", "%" + param.getPlateNum() + "%"); |
| | | } |
| | | if(StringUtils.isNotEmpty(param.getType())){ |
| | | if (StringUtils.isNotEmpty(param.getIntelCard())) { |
| | | hql += " and intelCard =:intelCard"; |
| | | args.put("intelCard", param.getIntelCard()); |
| | | } |
| | |
| | | * @return |
| | | */ |
| | | public InoutRecord getInoutRecord(String companyId, String deptId, String id, String intelCard) { |
| | | String hql = " from " + InoutRecord.class.getName() + " where" + " and recordStatus <>:recordStatus1 and recordStatus <>:recordStatus2"; |
| | | String hql = " from " + InoutRecord.class.getName() + " where" + " recordStatus <>:recordStatus1 and recordStatus <>:recordStatus2"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä»æ¿ä¿¡æ¯æ°æ®----æ¥å£1103ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param deptId |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * æ ¹æ®ä»æ¿idè·å仿¿ä¿¡æ¯ |
| | | * |
| | | * @param companyId |
| | | * @param id |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢æä»¶ä¿¡æ¯æ°æ®----æ¥å£1112ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param startTime |
| | | * @param endTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢è´¨æ£æ°æ®----æ¥å£1201ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * è¯¢è´¨æ£æç»æ°æ®----æ¥å£1202ä½¿ç¨ |
| | | * |
| | | * @param checkId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢åä»ä¿¡æ¯æ°æ®----æ¥å£1309ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææº¢åæ°æ®----æ¥å£1311ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ç²®é£æ§è´¨åæ´ä¿¡æ¯----æ¥å£1312ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¸©æ¹¿åº¦ä¿¡æ¯----æ¥å£1401ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ç²®æ
é
置信æ¯----æ¥å£1402ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢éé£ä¿¡æ¯----æ¥å£1403ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢çè¸ä¿¡æ¯----æ¥å£1404ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢è«å®³ä¿¡æ¯----æ¥å£1405ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢è«å®³ä¿¡æ¯----æ¥å£1408ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢è½®æ¢è®¡åä¿¡æ¯----æ¥å£1501ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param type |
| | | * @param startTime |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢è½®æ¢æç»è®¡åä¿¡æ¯----æ¥å£1502ä½¿ç¨ |
| | | * |
| | | * @param planId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ååä¿¡æ¯----æ¥å£1503ä½¿ç¨ |
| | | * |
| | | * @param companyId |
| | | * @param startTime |
| | | * @param endTime |
| | |
| | | BeanUtils.copyProperties(record, inoutData); |
| | | inoutData.setDepotName(phone35Util.getDepotName(phone35AuthUser.getCompanyId(), record.getDepotId())); |
| | | inoutData.setFoodVarietyName(FoodVariety.getMsg(record.getFoodVariety())); |
| | | if (inoutData.getRecordWeight() == null) { |
| | | inoutData.setRecordWeight(0.0); |
| | | } |
| | | sum += inoutData.getRecordWeight(); |
| | | listDto.add(inoutData); |
| | | } |
| | |
| | | BeanUtils.copyProperties(record, inoutData); |
| | | inoutData.setDepotName(phone35Util.getDepotName(phone35AuthUser.getCompanyId(), record.getDepotId())); |
| | | inoutData.setFoodVarietyName(FoodVariety.getMsg(record.getFoodVariety())); |
| | | if (inoutData.getRecordWeight() == null) { |
| | | inoutData.setRecordWeight(0.0); |
| | | } |
| | | sum += inoutData.getRecordWeight(); |
| | | listDto.add(inoutData); |
| | | } |
| | |
| | | import com.ld.igds.constant.FoodVariety; |
| | | import com.ld.igds.constant.RespCodeEnum; |
| | | import com.ld.igds.inout.InoutConstant; |
| | | import com.ld.igds.models.Depot; |
| | | import com.ld.igds.models.InoutRecord; |
| | | import com.ld.igds.phone35.constant.Phone35Constant; |
| | | import com.ld.igds.phone35.dto.Phone35AuthUser; |
| | |
| | | |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5203; |
| | | return Phone35Constant.API_PHONE_5206; |
| | | } |
| | | |
| | | @SuppressWarnings("unchecked") |
| | |
| | | for (InoutRecord record : list) { |
| | | inoutData = new Phone35InoutDto(); |
| | | BeanUtils.copyProperties(record, inoutData); |
| | | //设置ä»åºãç²®é£åç§ãç²®é£ç级çåç§° |
| | | inoutData.setDepotName(phone35Util.getDepotName(phone35AuthUser.getCompanyId(), record.getDepotId())); |
| | | Depot depot = phone35Util.getDepot(phone35AuthUser.getCompanyId(), record.getDepotId()); |
| | | |
| | | //设置ä»åºãç²®é£åç§ãç²®é£ç级ãä¿ç®¡åçåç§° |
| | | inoutData.setDepotName(depot.getName()); |
| | | inoutData.setStoreKeeper(depot.getStoreKeeper()); |
| | | inoutData.setStoreKeeperName(depot.getStoreKeeperName()); |
| | | inoutData.setFoodVarietyName(FoodVariety.getMsg(record.getFoodVariety())); |
| | | inoutData.setFoodLevelName(FoodLevel.getMsg(record.getFoodLevel())); |
| | | listDto.add(inoutData); |
| | |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5205; |
| | | return Phone35Constant.API_PHONE_5207; |
| | | } |
| | | |
| | | @SuppressWarnings("unchecked") |
| | |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | //åæ°éªè¯ |
| | | if (StringUtils.isEmpty(param.getDeptId())) { |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | // if (StringUtils.isEmpty(param.getDeptId())) { |
| | | // return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | // } |
| | | |
| | | //å¼ä»æäº¤åï¼å次确认å½åæµæ°´æ¯å¦ä¸ºå¼ä»æµç¨ |
| | | InoutRecord record = hPhoneService.getInoutRecord(phone35AuthUser.getCompanyId(), phone35AuthUser.getDeptId(), param.getId(), null); |
| | |
| | | |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5205; |
| | | return Phone35Constant.API_PHONE_5208; |
| | | } |
| | | |
| | | @SuppressWarnings("unchecked") |
| | |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | //åæ°éªè¯ |
| | | if (StringUtils.isEmpty(param.getDeptId())) { |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | // if (StringUtils.isEmpty(param.getDeptId())) { |
| | | // return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | // } |
| | | |
| | | //æ¥è¯¢æµæ°´æ°æ®ä¿¡æ¯ |
| | | InoutRecord inoutData = hPhoneService.getInoutRecord(phone35AuthUser.getCompanyId(), phone35AuthUser.getDeptId(), param.getId(), param.getIntelCard()); |
| | |
| | | inoutHandle.setProgressName(phone35Util.getProgressName(phone35AuthUser.getCompanyId(), inoutData.getProgress())); |
| | | inoutHandle.setFoodVarietyName(FoodVariety.getMsg(inoutData.getFoodVariety())); |
| | | inoutHandle.setFoodLevelName(FoodLevel.getMsg(inoutData.getFoodLevel())); |
| | | // inoutHandle.setHandleStart(inoutData.getHandleStart()); TODO |
| | | // inoutHandle.setHandelEnd(inoutData.getHandleEnd()); TODO |
| | | // inoutHandle.setHandleStart(inoutData.getHandleStart()); |
| | | // inoutHandle.setHandelEnd(inoutData.getHandleEnd()); |
| | | inoutHandle.setProgress(inoutData.getProgress()); |
| | | |
| | | //æ ¹æ®æµæ°´idãç»ç»ç¼ç æ¥è¯¢å¾çä¿¡æ¯ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ld.igds.phone35.constant.Phone35Constant; |
| | | import com.ld.igds.phone35.dto.Phone35AuthUser; |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | |
| | | /** |
| | | * è®¾å¤æ§å¶-设å¤å表æ¥å£å®ç° |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | public class Phone35ServiceImpl5401 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5401; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | //todo 设å¤å表 |
| | | return null; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ld.igds.constant.RespCodeEnum; |
| | | import com.ld.igds.phone35.constant.Phone35Constant; |
| | | import com.ld.igds.phone35.dto.Dto5501; |
| | | import com.ld.igds.phone35.dto.Phone35AuthUser; |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.mapper.Phone35Mapper; |
| | | import com.ld.igds.phone35.param.Phone35CommonParam; |
| | | import com.ld.igds.phone35.param.Phone35DepotCommonParam; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | import com.ld.igds.phone35.util.PhoneRespUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5501 implements Phone35Service { |
| | | @Autowired |
| | | private Phone35Mapper phone35Mapper; |
| | | |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5501; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | //转å对象 |
| | | Phone35CommonParam param = JSONObject.parseObject(req.getData().toString(), Phone35CommonParam.class); |
| | | if (null == param) { |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | //åæ°éªè¯ |
| | | if (StringUtils.isEmpty(param.getDeptId())) { |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | | List<Dto5501> list = phone35Mapper.getRealEnergyByDept(phone35AuthUser.getCompanyId(), param.getDeptId()); |
| | | return PhoneRespUtil.success(list, req); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ld.igds.phone35.constant.Phone35Constant; |
| | | import com.ld.igds.phone35.dto.Phone35AuthUser; |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | |
| | | /** |
| | | * @Author:YAN |
| | | */ |
| | | public class Phone35ServiceImpl5801 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5801; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | return null; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ld.igds.phone35.constant.Phone35Constant; |
| | | import com.ld.igds.phone35.dto.Phone35AuthUser; |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | |
| | | /** |
| | | * @Author:YAN |
| | | */ |
| | | public class Phone35ServiceImpl5802 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5802; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | return null; |
| | | } |
| | | } |
| | |
| | | private CoreCommonService commonService; |
| | | |
| | | private static final String KEY_API_PHONE_TOKEN = "KEY_API_PHONE_TOKEN"; |
| | | |
| | | /** |
| | | * å建ç¼åKey |
| | | * |
| | | * @param token |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * è·ååºå
¥åºæµç¨åç§° |
| | | * |
| | | * @param companyId |
| | | * @param progress |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * è·åä»åºåç§° |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @return |
| | |
| | | } |
| | | return depotName; |
| | | } |
| | | |
| | | /** |
| | | * è·åæå®ä»åºçä¿¡æ¯ |
| | | * |
| | | * @param companyId |
| | | * @param depotId |
| | | * @return |
| | | */ |
| | | public Depot getDepot(String companyId, String depotId) { |
| | | List<Depot> depotList = commonService.getCacheDepotList(companyId); |
| | | Depot depots = new Depot(); |
| | | if (depotList != null && depotList.size() > 0) { |
| | | for (Depot depot : depotList) { |
| | | if (depot.getId().equals(depotId)) { |
| | | depots = depot; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return depots; |
| | | } |
| | | } |
| | |
| | | <if test="deptId != null and deptId != ''">AND d.DEPT_ID_ = #{deptId}</if> |
| | | ORDER BY d.ID_ |
| | | </select> |
| | | |
| | | <!--宿¶é
çµ--> |
| | | <select id="getRealEnergyByDept" resultType="com.ld.igds.phone35.dto.Dto5501" parameterType="java.lang.String"> |
| | | SELECT d.ID_ as depotId, |
| | | d.NAME_ as depotName, |
| | | d.DEPOT_TYPE_ as depotType, |
| | | e.UA_ as ua, |
| | | e.UB_ as ub, |
| | | e.UC_ as uc, |
| | | e.IA_ as ia, |
| | | e.IB_ as ib, |
| | | e.IC_ as ic, |
| | | e.UPDATE_TIME_ as updateTime |
| | | FROM d_depot d |
| | | LEFT JOIN d_energy e |
| | | ON d.ID_ = e.DEPOT_ID_ |
| | | WHERE d.COMPANY_ID_ = #{companyId} |
| | | <if test="deptId != null and deptId != ''">AND d.DEPT_ID_ = #{deptId}</if> |
| | | ORDER BY d.ID_ |
| | | </select> |
| | | </mapper> |