| | |
| | | |
| | | public static final String API_PHONE_5604 = "5604"; |
| | | public static final String API_PHONE_5605 = "5605"; |
| | | |
| | | /* ======= é¨ç¦ç®¡ç ====== */ |
| | | |
| | | public static final String API_PHONE_5606 = "5606"; |
| | | public static final String API_PHONE_5607 = "5607"; |
| | | public static final String API_PHONE_5608 = "5608"; |
| | | |
| | | /* ======= å·¥å管ç ====== */ |
| | | |
| | |
| | | public static final String API_PHONE_5702 = "5702"; |
| | | public static final String API_PHONE_5703 = "5703"; |
| | | public static final String API_PHONE_5704 = "5704"; |
| | | public static final String API_PHONE_5705 = "5705"; |
| | | |
| | | /* ======= é¢è¦ç®¡ç ====== */ |
| | | |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * çµåå·¡é» |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Data |
| | |
| | | import com.ld.igds.phone35.dto.*; |
| | | import com.ld.igds.phone35.param.Phone35CommonParam; |
| | | import com.ld.igds.phone35.param.Phone35DepotCommonParam; |
| | | import com.ld.igds.phone35.param.Phone35PatrolCommonParam; |
| | | import com.ld.igds.phone35.param.Phone35WarnCommonParam; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | * @param param |
| | | * @return |
| | | */ |
| | | List<DtoPatrol> getPatrol(@Param("param") Phone35DepotCommonParam param); |
| | | List<DtoPatrol> getPatrol(@Param("param") Phone35PatrolCommonParam param); |
| | | |
| | | /** |
| | | * çæ§è®¾å¤å表 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.phone35.param; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * çµåå·¡é» |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Data |
| | | public class Phone35PatrolCommonParam extends Phone35CommonParam { |
| | | |
| | | private String longitude; |
| | | private String latitude; |
| | | private String imgName; |
| | | private String dateTime; |
| | | } |
| | |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * è®¾å¤æ§å¶-设å¤å表æ¥å£å®ç° |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5401 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * æä½è®¾å¤ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5402 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5402; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * ç©ºè°æ§å¶ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5403 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5403; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | //todo ç©ºè°æ§å¶ |
| | | return null; |
| | | } |
| | | } |
| | |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.mapper.Phone35Mapper; |
| | | import com.ld.igds.phone35.param.Phone35DepotCommonParam; |
| | | import com.ld.igds.phone35.param.Phone35PatrolCommonParam; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | import com.ld.igds.phone35.util.PhoneRespUtil; |
| | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | //转å对象 |
| | | Phone35DepotCommonParam param = JSONObject.parseObject(req.getData().toString(), Phone35DepotCommonParam.class); |
| | | Phone35PatrolCommonParam param = JSONObject.parseObject(req.getData().toString(), Phone35PatrolCommonParam.class); |
| | | if (null == param) { |
| | | return PhoneRespUtil.error(RespCodeEnum.CODE_1111, "åæ°æè¯¯ï¼è¯·éè¯ï¼ï¼"); |
| | | } |
| | |
| | | import com.ld.igds.phone35.dto.PhoneResponse; |
| | | import com.ld.igds.phone35.param.Phone35Request; |
| | | import com.ld.igds.phone35.service.Phone35Service; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * çæ§ææ¾ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5605 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * é¨ç¦è®¾å¤å表 |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5606 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5606; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * é¨ç¦è®¾å¤æä½ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5607 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5607; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * é¨ç¦è®°å½ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5608 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5608; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * å·¥åç³è¯· |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5701 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5701; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * å·¥åè®°å½ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5702 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5702; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * å·¥åå®¡æ ¸å表 |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5703 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5703; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * å·¥åå®¡æ ¸ |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5704 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5704; |
| | | } |
| | | |
| | | @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.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; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * å·¥åç±»å |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | | public class Phone35ServiceImpl5705 implements Phone35Service { |
| | | @Override |
| | | public String getInterfaceId() { |
| | | return Phone35Constant.API_PHONE_5705; |
| | | } |
| | | |
| | | @Override |
| | | public PhoneResponse<Object> execute(Phone35Request<JSONObject> req, Phone35AuthUser phone35AuthUser) throws Exception { |
| | | //todo å·¥åç±»å æå®æ¥å£ä¸º5705ï¼å¦æéè¦æ¹ä¸º6101 |
| | | return null; |
| | | } |
| | | } |
| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¢è¦å表 |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | | @Service |
| | |
| | | <version>${igds.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- APP -å¯é--> |
| | | <dependency> |
| | | <groupId>com.ld.igds</groupId> |
| | | <artifactId>igds-api-phone</artifactId> |
| | | <version>${igds.version}</version> |
| | | </dependency> |
| | | <!-- å
¶ä»éç¨åçåè®® --> |
| | | <dependency> |
| | | <groupId>com.ld.igds</groupId> |