| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.enums.SystemDataNoEnum; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.system.service.ISystemDataNoService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.scheduling.annotation.Async; |
| | |
| | | @Resource |
| | | private TmsSettlementEntityMapper tmsSettlementEntityMapper; |
| | | |
| | | |
| | | @Autowired |
| | | ISystemDataNoService systemDataNoService; |
| | | /** |
| | | * 查询结算主体 |
| | | * |
| | |
| | | @Override |
| | | public int insertTmsSettlementEntity(TmsSettlementEntity tmsSettlementEntity) |
| | | { |
| | | tmsSettlementEntity.setCustomerCode(systemDataNoService.getNoByKey(SystemDataNoEnum.YY)); |
| | | tmsSettlementEntity.setCreateTime(DateUtils.getNowDate()); |
| | | tmsSettlementEntity.setCreateBy(SecurityUtils.getUsername()); |
| | | return tmsSettlementEntityMapper.insertTmsSettlementEntity(tmsSettlementEntity); |
| | | } |
| | | |