Commit 40666f86 by 崔彦峰

modify:有效引荐数列表核查月份修改。

1 parent d41587de
......@@ -60,7 +60,6 @@ public class EffectiveReferralReview implements Serializable {
* 复核时间-月份
*/
@ApiModelProperty(notes = "复核时间-月份")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private String reviewMonth;
/**
......
......@@ -101,10 +101,8 @@ public class EffectiveReferralReviewService {
EffectiveReferralReview effectiveReferralReview = new EffectiveReferralReview();
Date curDate = new Date();
//将curDate 转化为 yyyy-MM
String format = DateUtil.format(curDate, "yyyy-MM");
effectiveReferralReview.setId(dto.getId());
effectiveReferralReview.setReviewedEffectiveCount(dto.getReviewedEffectiveCount());
effectiveReferralReview.setReviewMonth(format);
effectiveReferralReview.setIsReviewed(1);
effectiveReferralReview.setReviewedBy(dto.getUpdatedBy());
effectiveReferralReview.setReviewedName(dto.getUpdatedBy());
......
......@@ -82,8 +82,8 @@
AND dclsm.merchant_name LIKE CONCAT('%', #{merchantName},
'%')
</if>
<if test="createdDate != null and createdDate != ''">
AND DATE_FORMAT(serr.created_date, '%Y-%m') = #{createdDate}
<if test="reviewMonth != null and reviewMonth != ''">
AND serr.review_month = #{reviewMonth}
</if>
GROUP BY
serr.merchant_id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!