Commit a1258437 authored by cq990612's avatar cq990612

优化代码结构

parent 02c9d567
...@@ -19,6 +19,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; ...@@ -19,6 +19,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
...@@ -95,6 +96,7 @@ public class WorkCollectServiceImpl implements WorkCollectService { ...@@ -95,6 +96,7 @@ public class WorkCollectServiceImpl implements WorkCollectService {
* @param workDay 某日 * @param workDay 某日
* @return List<CalendarDto> * @return List<CalendarDto>
*/ */
@Transactional
@Override @Override
public SubtotalDto calendarDay(Integer userId, Date workDay) { public SubtotalDto calendarDay(Integer userId, Date workDay) {
log.info("WorkCollectServiceImpl[]calendarDay[]input.param.userId:{},workDay:{}", userId, workDay); log.info("WorkCollectServiceImpl[]calendarDay[]input.param.userId:{},workDay:{}", userId, workDay);
......
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