| | |
| | | package com.aps.core.service.impl.ApsPlate; |
| | | |
| | | import com.aps.common.security.utils.SecurityUtils; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.aps.core.domain.ApsPlate.ApsPlateStandardRequireOrderEndDay; |
| | | import com.aps.core.service.ApsPlateStandardRequireOrderEndDayService; |
| | | import com.aps.core.mapper.ApsPlateStandardRequireOrderEndDayMapper; |
| | | import jakarta.annotation.Resource; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhl |
| | |
| | | public class ApsPlateStandardRequireOrderEndDayServiceImpl extends ServiceImpl<ApsPlateStandardRequireOrderEndDayMapper, ApsPlateStandardRequireOrderEndDay> |
| | | implements ApsPlateStandardRequireOrderEndDayService{ |
| | | |
| | | @Resource |
| | | ApsPlateStandardRequireOrderEndDayMapper mapper; |
| | | |
| | | |
| | | @Transactional |
| | | @Override |
| | | public int saveBatch(List<Long> planIds) |
| | | { |
| | | mapper.batchRemoveByPlanId(planIds); |
| | | return mapper.batchInsert(planIds, SecurityUtils.getUsername()); |
| | | } |
| | | } |
| | | |
| | | |