记得上下班打卡 | git大法好,push需谨慎

Commit a2fc7394 authored by 张国柄's avatar 张国柄

~OPT:API返回非必要属性处理;

parent c4ef1d20
...@@ -11,7 +11,7 @@ import lombok.Data; ...@@ -11,7 +11,7 @@ import lombok.Data;
import java.time.LocalDateTime; import java.time.LocalDateTime;
@ApiModel(value = "AdamAddressesVo", description = "收获地址") @ApiModel(value = "AdamAddressesVo", description = "收获地址")
@JsonIgnoreProperties(value = {"uid", "town", "townId", "fullAddress", "state", "deletedAt"}) @JsonIgnoreProperties(value = {"uid", "town", "townId", "fullAddress", "deletedAt"})
@Data @Data
public class AdamAddressesVo implements java.io.Serializable, Cloneable { public class AdamAddressesVo implements java.io.Serializable, Cloneable {
private static final long serialVersionUID = -3096308044365829079L; private static final long serialVersionUID = -3096308044365829079L;
......
...@@ -11,7 +11,7 @@ import lombok.Data; ...@@ -11,7 +11,7 @@ import lombok.Data;
import java.time.LocalDateTime; import java.time.LocalDateTime;
@ApiModel(value = "AdamEntersVo", description = "入场人") @ApiModel(value = "AdamEntersVo", description = "入场人")
@JsonIgnoreProperties(value = {"uid", "state", "deletedAt"}) @JsonIgnoreProperties(value = {"uid", "deletedAt"})
@Data @Data
public class AdamEntersVo implements java.io.Serializable, Cloneable { public class AdamEntersVo implements java.io.Serializable, Cloneable {
private static final long serialVersionUID = -9143065766410946012L; private static final long serialVersionUID = -9143065766410946012L;
......
...@@ -66,7 +66,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService { ...@@ -66,7 +66,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService {
SqlMapping.get("adam_addresses.add", SqlMapping.get("adam_addresses.add",
vo.getAddressesId(), currentUid, vo.getName(), vo.getPhone(), vo.getAddressesId(), currentUid, vo.getName(), vo.getPhone(),
vo.getProvince(), vo.getProvinceId(), vo.getCity(), vo.getCityId(), vo.getProvince(), vo.getProvinceId(), vo.getCity(), vo.getCityId(),
vo.getCounty(), vo.getCountyId(), vo.getAddress(), vo.getIsDefault(), 1, now vo.getCounty(), vo.getCountyId(), vo.getAddress(), vo.getIsDefault(), vo.getState(), now
) )
); );
log.debug("#MQ耗时:{}ms", System.currentTimeMillis() - s); log.debug("#MQ耗时:{}ms", System.currentTimeMillis() - s);
......
...@@ -75,7 +75,7 @@ public class AdamEntersServiceImpl implements IAdamEntersService { ...@@ -75,7 +75,7 @@ public class AdamEntersServiceImpl implements IAdamEntersService {
s = System.currentTimeMillis(); s = System.currentTimeMillis();
String msg = SqlMapping.get("adam_enters.add", String msg = SqlMapping.get("adam_enters.add",
vo.getEntersId(), currentUid, vo.getType(), vo.getName(), vo.getMobile(), vo.getIdCard(), vo.getIsDefault(), 1, now vo.getEntersId(), currentUid, vo.getType(), vo.getName(), vo.getMobile(), vo.getIdCard(), vo.getIsDefault(), vo.getState(), now
); );
log.debug("#SQL.GET耗时:{}ms", System.currentTimeMillis() - s); log.debug("#SQL.GET耗时:{}ms", System.currentTimeMillis() - s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment