You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
485 B
18 lines
485 B
package com.example.demo.circulator.service;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import javax.annotation.PostConstruct;
|
|
|
|
@Service
|
|
public abstract class CirService {
|
|
@PostConstruct
|
|
public void init(){}
|
|
|
|
@Transactional //数据库与事物的一致性
|
|
public double NextCirculator(long checkNum){return 0;}
|
|
public double SumCirculator(long productNum,double amount,int year){return 0;}
|
|
|
|
}
|