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

Commit 3afaa51f authored by jiangxiulong's avatar jiangxiulong

getTimeType

parent 633f48a9
......@@ -90,6 +90,10 @@ public class SweetIntegralActivityServiceImpl extends ServiceImpl<SweetIntegralA
SweetIntegralActivity sweetIntegralActivity = SweetIntegralActivityFromParam.getNew().copy(param);
sweetIntegralActivity.setUpdatedAt(LocalDateTime.now());
String integralActivityId = param.getIntegralActivityId();
if (sweetIntegralActivity.getTimeType() == 1) {
sweetIntegralActivity.setEndTime(null);
sweetIntegralActivity.setStartTime(null);
}
int update = sweetIntegralActivityMapper.update(
sweetIntegralActivity,
Wrappers.lambdaUpdate(SweetIntegralActivity.class).eq(SweetIntegralActivity::getIntegralActivityId, integralActivityId)
......
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