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

Commit 8c40ff46 authored by 张国柄's avatar 张国柄

~API:收货地址扩展(Param\Vo\Entity\Table);

parent 9da7f8c0
...@@ -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", "createdAt", "updatedAt", "deletedAt"}) @JsonIgnoreProperties(value = {"uid", "town", "townId", "fullAddress", "state", "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;
......
...@@ -64,7 +64,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService { ...@@ -64,7 +64,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService {
queueUtils.sendMsgByRedis( queueUtils.sendMsgByRedis(
MQConst.AdamQueue.SQL_UCENTER.getKey(), MQConst.AdamQueue.SQL_UCENTER.getKey(),
SqlMapping.get("adam_addresses.add", SqlMapping.get("adam_addresses.add",
vo.getAddressesId(), vo.getUid(), 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(), vo.getState(), now vo.getCounty(), vo.getCountyId(), vo.getAddress(), vo.getIsDefault(), vo.getState(), now
) )
...@@ -131,7 +131,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService { ...@@ -131,7 +131,7 @@ public class AdamAddressesServiceImpl implements IAdamAddressesService {
updateVo.setAddress(parameter.getAddress()); updateVo.setAddress(parameter.getAddress());
updateVo.setUpdatedAt(now); updateVo.setUpdatedAt(now);
long s = System.currentTimeMillis(); long s = System.currentTimeMillis();
adamRdmService.setAddressesVoByUid(updateVo.getUid(), this.collectionProcess(vos, parameter.getAddressesId(), updateVo)); adamRdmService.setAddressesVoByUid(currentUid, this.collectionProcess(vos, parameter.getAddressesId(), updateVo));
log.debug("#RDS耗时:{}ms", System.currentTimeMillis() - s); log.debug("#RDS耗时:{}ms", System.currentTimeMillis() - s);
s = System.currentTimeMillis(); s = System.currentTimeMillis();
......
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