Authored by wangshusheng

日志

... ... @@ -12,6 +12,7 @@ public class CutDownPriceUserRecord {
private Integer productSkn;
private Integer helpCount;
private Integer useCount;
private Integer status=0;
public Integer getId() {
return id;
... ... @@ -84,4 +85,12 @@ public class CutDownPriceUserRecord {
public void setCutTime(Integer cutTime) {
this.cutTime = cutTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
}
... ...
... ... @@ -11,9 +11,10 @@
<result column="create_time" property="createTime" jdbcType="INTEGER" />
<result column="update_time" property="updateTime" jdbcType="INTEGER" />
<result column="cut_time" property="cutTime" jdbcType="INTEGER" />
<result column="status" property="status" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, user_id, activity_id, product_skn, help_count, use_count, create_time, update_time, cut_time
id, user_id, activity_id, product_skn, help_count, use_count, create_time, update_time, cut_time, status
</sql>
<insert id="addCutDownUserRecord" parameterType="com.yoho.activity.dal.model.CutDownPriceUserRecord" useGeneratedKeys="true" keyProperty="id">
... ...
... ... @@ -34,7 +34,7 @@ import java.util.List;
@ServiceDesc("activity")
public class CutDownProductPriceRest {
private static Logger logger = LoggerFactory.getLogger(CutDownProductPriceRest.class);
private static Logger logger = LoggerFactory.getLogger("cutPriceLog");
@Autowired
private ICutDownPriceService cutDownPriceService;
... ...
... ... @@ -634,7 +634,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService {
UicUserReqBO request = new UicUserReqBO();
request.setUids(uids);
logger.info("start invoke uic.getUserInfoListByYohoUid, uids is {}", uids);
logger.debug("start invoke uic.getUserInfoListByYohoUid, uids is {}", uids);
UserInfoRspBO[] userInfoBoArray = null;
try {
userInfoBoArray = serviceCaller.call("uic.getUserInfoListByYohoUid", request, UserInfoRspBO[].class);
... ... @@ -653,7 +653,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService {
BatchBaseRequest<Integer> productRequest = new BatchBaseRequest<Integer>();
productRequest.setParams(productSkns);
try{
logger.info("start invoke product.batchQueryNamesAndImageBySkns, productSkns is {}", productSkns);
logger.debug("start invoke product.batchQueryNamesAndImageBySkns, productSkns is {}", productSkns);
productBoArray = serviceCaller.call("product.batchQueryNamesAndImageBySkns", productRequest, ProductBo[].class);
}catch(Exception e){
logger.warn("invoke product.batchQueryNamesAndImageBySkns failed, productSkns is {}, exception is{}", productSkns, e);
... ... @@ -829,7 +829,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService {
}
}
// 商品名称、商品原价、当前价格、activityId、productSkn、uid
logger.info("cutprice success pushSuccessMessage, uid is{}, activityId is {}, productSkn is {}", userId, activityId,
logger.info("cutprice success pushSuccessMessage, uid is {}, activityId is {}, productSkn is {}", userId, activityId,
productSkn);
SendMessageRspBo sendMessageRsp = groupOrderService.cutPriceSuccess(String.valueOf(userId), productName,
String.valueOf(cutDownPriceProductBo.getHighPrice()),
... ...