|
@@ -7,6 +7,7 @@ import com.miaxis.wx.mapper.WxForeverCodeMapper;
|
|
|
import com.miaxis.wx.service.IWxForeverCodeService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -30,6 +31,7 @@ public class WxForeverCodeServiceImpl extends ServiceImpl<WxForeverCodeMapper, W
|
|
|
* @return 微信永久二维码口令
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional
|
|
|
public List<WxForeverCode> selectWxForeverCodeList(WxForeverCode wxForeverCode){
|
|
|
List<WxForeverCode> wxForeverCodes = wxForeverCodeMapper.selectWxForeverCodeList(wxForeverCode);
|
|
|
// 若目前无数据,则创建一个
|