|
@@ -7,6 +7,7 @@ import cn.rankin.userservice.repository.QRCodeRepository;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.transaction.Transactional;
|
|
|
import java.util.Date;
|
|
|
|
|
|
import static cn.rankin.userservice.utils.DTOConverter.convert;
|
|
@@ -43,4 +44,9 @@ public class QRCodeService {
|
|
|
public void update(QRCode qrcode) {
|
|
|
qrcodeRepository.update(qrcode);
|
|
|
}
|
|
|
+
|
|
|
+ @Transactional
|
|
|
+ public void updateStatusFail(String eid) {
|
|
|
+ qrcodeRepository.updateStatusFail(eid);
|
|
|
+ }
|
|
|
}
|