|
|
@@ -13,6 +13,7 @@ import javax.persistence.criteria.CriteriaBuilder;
|
|
|
import javax.persistence.criteria.CriteriaQuery;
|
|
|
import javax.persistence.criteria.Predicate;
|
|
|
import javax.persistence.criteria.Root;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -49,8 +50,8 @@ public class PersonalProductServiceImpl implements PersonalProductService {
|
|
|
* @param id id
|
|
|
*/
|
|
|
@Override
|
|
|
- public void updateStatusById(Integer status, Long id) {
|
|
|
- personlProductDao.updateStatusById(status, id);
|
|
|
+ public void updateStatusById(Integer status, Long id, Date date) {
|
|
|
+ personlProductDao.updateStatusById(status, id, date);
|
|
|
}
|
|
|
|
|
|
/**
|