Browse Source

项目变动增加日志,补充提交

dev
wxz 4 years ago
parent
commit
3cb8dbc460
  1. 5
      epmet-admin/epmet-admin-client/src/main/java/com/epmet/dto/region/LogOperationResultDTO.java
  2. 2
      epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/LogOperationServiceImpl.java
  3. 4
      epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/feign/EpmetMessageOpenFeignClient.java
  4. 4
      epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java
  5. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/CustomerStaffDao.xml

5
epmet-admin/epmet-admin-client/src/main/java/com/epmet/dto/region/LogOperationResultDTO.java

@ -1,5 +1,8 @@
package com.epmet.dto.region; package com.epmet.dto.region;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ -44,6 +47,6 @@ public class LogOperationResultDTO {
/** /**
* 操作时间,该时间不是插入数据的时间而是操作发生的真实时间 * 操作时间,该时间不是插入数据的时间而是操作发生的真实时间
*/ */
private Date operatingTime; private Long operatingTime;
} }

2
epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/LogOperationServiceImpl.java

@ -163,7 +163,7 @@ public class LogOperationServiceImpl implements LogOperationService, ResultDataR
LogOperationResultDTO ldto = new LogOperationResultDTO(); LogOperationResultDTO ldto = new LogOperationResultDTO();
ldto.setCategory(l.getCategory()); ldto.setCategory(l.getCategory());
ldto.setContent(l.getContent()); ldto.setContent(l.getContent());
ldto.setOperatingTime(l.getOperatingTime()); ldto.setOperatingTime(l.getOperatingTime().getTime());
ldto.setOperatorId(l.getOperatorId()); ldto.setOperatorId(l.getOperatorId());
ldto.setTargetId(l.getTargetId()); ldto.setTargetId(l.getTargetId());
ldto.setType(l.getType()); ldto.setType(l.getType());

4
epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/feign/EpmetMessageOpenFeignClient.java

@ -26,8 +26,8 @@ import java.util.List;
* @author yinzuomei@elink-cn.com * @author yinzuomei@elink-cn.com
* @date 2020/6/4 13:47 * @date 2020/6/4 13:47
*/ */
@FeignClient(name = ServiceConstant.EPMET_MESSAGE_SERVER, fallback = EpmetMessageOpenFeignClientFallback.class,url = "http://127.0.0.1:8085") //@FeignClient(name = ServiceConstant.EPMET_MESSAGE_SERVER, fallback = EpmetMessageOpenFeignClientFallback.class,url = "http://127.0.0.1:8085")
//@FeignClient(name = ServiceConstant.EPMET_MESSAGE_SERVER, fallback = EpmetMessageOpenFeignClientFallback.class) @FeignClient(name = ServiceConstant.EPMET_MESSAGE_SERVER, fallback = EpmetMessageOpenFeignClientFallback.class)
public interface EpmetMessageOpenFeignClient { public interface EpmetMessageOpenFeignClient {
/** /**
* 发送短信 * 发送短信

4
epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java

@ -21,8 +21,8 @@ import java.util.Map;
* @author yinzuomei@elink-cn.com * @author yinzuomei@elink-cn.com
* @date 2020/6/4 13:09 * @date 2020/6/4 13:09
*/ */
@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class, url = "http://127.0.0.1:8087") //@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class, url = "http://127.0.0.1:8087")
//@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class) @FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class)
public interface EpmetUserOpenFeignClient { public interface EpmetUserOpenFeignClient {
/** /**

2
epmet-user/epmet-user-server/src/main/resources/mapper/CustomerStaffDao.xml

@ -390,7 +390,7 @@
and MOBILE = #{mobile} and MOBILE = #{mobile}
</if> </if>
<if test="userIds != null and userIds.size() > 0"> <if test="userIds != null and userIds.size() > 0">
and userId in and user_id in
<foreach collection="userIds" item="userId" separator="," open="(" close=")"> <foreach collection="userIds" item="userId" separator="," open="(" close=")">
#{userId} #{userId}
</foreach> </foreach>

Loading…
Cancel
Save