|
|
@@ -10,7 +10,6 @@ import com.uas.ps.product.entity.ProductSaler;
|
|
|
import com.uas.ps.product.repository.ProductDao;
|
|
|
import com.uas.ps.product.repository.ProductUsersDao;
|
|
|
import com.uas.ps.product.service.ProductUsersService;
|
|
|
-import com.uas.ps.product.util.ThreadUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.jpa.domain.Specification;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
@@ -184,22 +183,6 @@ public class ProductUsersServiceImpl implements ProductUsersService {
|
|
|
productUsersDao.delete(prods);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 将物料信息同步到个人信息库
|
|
|
- *
|
|
|
- * @param productId
|
|
|
- */
|
|
|
- public void coverToMyProduct(final Long productId, final Long enuu, final Long useruu, final String method) {
|
|
|
-// logger.log("我的产品库", method + ":" + productId);
|
|
|
- ThreadUtils.task(new Runnable() {
|
|
|
-
|
|
|
- @Override
|
|
|
- public void run() {
|
|
|
- productUsersDao.coverToUserByPrid(productId, enuu, useruu);
|
|
|
- }
|
|
|
- }).run();
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 根据企业UU和物料原厂型号cmpCode获取个人产品库信息
|
|
|
*
|