|
|
@ -25,6 +25,7 @@ import org.apache.commons.logging.Log; |
|
|
import org.apache.commons.logging.LogFactory; |
|
|
import org.apache.commons.logging.LogFactory; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
import org.springframework.transaction.PlatformTransactionManager; |
|
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
import java.text.SimpleDateFormat; |
|
|
import java.util.*; |
|
|
import java.util.*; |
|
|
@ -41,6 +42,11 @@ public class GoodsServiceImpl implements GoodsService { |
|
|
// 操作日志
|
|
|
// 操作日志
|
|
|
@Autowired |
|
|
@Autowired |
|
|
private OperationLogMapper operationLogMapper; |
|
|
private OperationLogMapper operationLogMapper; |
|
|
|
|
|
/** |
|
|
|
|
|
* springboot 自带事物 |
|
|
|
|
|
*/ |
|
|
|
|
|
@Autowired |
|
|
|
|
|
private PlatformTransactionManager platformTransactionManager; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public List<Goods> getGoodsList(int page) { |
|
|
public List<Goods> getGoodsList(int page) { |
|
|
|