| | |
| | | package com.jcdm.main.bs.workshop.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.jcdm.common.core.domain.entity.SysUser; |
| | | import com.jcdm.common.exception.ServiceException; |
| | | import com.jcdm.common.utils.DateUtils; |
| | | import com.jcdm.common.utils.SecurityUtils; |
| | | import com.jcdm.common.utils.StringUtils; |
| | | import com.jcdm.common.utils.bean.BeanValidators; |
| | | import com.jcdm.main.bs.workshop.service.IBsWorkshopInfoService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | { |
| | | return bsWorkshopInfoMapper.deleteBsWorkshopInfoById(id); |
| | | } |
| | | |
| | | @Override |
| | | public String importWrokshop(List<BsWorkshopInfo> userList, Boolean isUpdateSupport, String operName) { |
| | | StringBuilder successMsg = new StringBuilder(); |
| | | for (BsWorkshopInfo info : userList) { |
| | | insertBsWorkshopInfo(info); |
| | | successMsg.append("<br/>" + info.getWorkshopName() + " 导入成功"); |
| | | } |
| | | return successMsg.toString(); |
| | | } |
| | | |
| | | |
| | | } |