|
@@ -15,6 +15,7 @@ import com.ruoyi.warehouseBusiness.service.IBillnoSerialService;
|
|
|
import org.apache.commons.lang3.time.DateFormatUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
@@ -168,6 +169,7 @@ public class BillnoSerialServiceImpl implements IBillnoSerialService {
|
|
|
* @param time 入库时间
|
|
|
* @return 结果
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public String getSerialNumber(String billType, Date time) {
|
|
|
String billNo = null;
|
|
|
String yyMMdd = null;
|