| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.enums.SystemDataNoEnum; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import javax.annotation.Resource; |
| | | |
| | | 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; |
| | |
| | | protected final Logger logger = LoggerFactory.getLogger(getClass()); |
| | | @Resource |
| | | private TmsCustomerInfoMapper tmsCustomerInfoMapper; |
| | | |
| | | @Autowired |
| | | ISystemDataNoService systemDataNoService; |
| | | |
| | | /** |
| | | * 查询客户信息 |
| | |
| | | @Override |
| | | public int insertTmsCustomerInfo(TmsCustomerInfo tmsCustomerInfo) |
| | | { |
| | | tmsCustomerInfo.setCustomerCode(systemDataNoService.getNoByKey(SystemDataNoEnum.CUST)); |
| | | tmsCustomerInfo.setCreateTime(DateUtils.getNowDate()); |
| | | return tmsCustomerInfoMapper.insertTmsCustomerInfo(tmsCustomerInfo); |
| | | } |