zoukankan      html  css  js  c++  java
  • 1938

    spring boot mybatis打印sql (aop方式)

    logging.level.com.zte.datamanger.dataquality.mapper=debug

    Article.vue

    <template>
    
    
    
    <el-row id="FindPerson" :gutter="10">
      <el-col :xs="0" :sm="1" :md="2" :lg="2">.</el-col>
      <el-col :xs="24" :sm="22" :md="20" :lg="20">.
    
    <el-row :gutter="10">
         <el-col :xs="0" :sm="1" :md="2" :lg="2">.
         </el-col>
         <el-col :xs="24" :sm="22" :md="20" :lg="20">
      <div class="am-list-news-bd">
      <el-row :gutter="10">
    
          <el-col :xs="20" :sm="20" :md="20" :lg="20" >
              <el-breadcrumb separator-class="el-icon-arrow-right">
                  <el-breadcrumb-item :to="{ path: '/' }">luobuv</el-breadcrumb-item>
                  <el-breadcrumb-item>论坛</el-breadcrumb-item>
      
                </el-breadcrumb>
    
                <h3>请教一下关于 Python 的多继承问题,为什么结果差异很大?</h3>
                <small>king1101 · 59 分钟前 · 176 次点击</small>
          </el-col>
          <el-col :span="2">
              <img style="padding-top: 10px;  40px; height: 40px;border-radius:15px" src="https://tvax2.sinaimg.cn/crop.0.0.512.512.180/006ZKmjSly8foxqbsvp5aj30e80e8wey.jpg" class="image">
             </el-col>
        </el-row>
        <div style="border-top: 1px solid #e6ebf5;margin-top: 15px;margin-bottom: 15px;
        padding-bottom: 5px;padding-top: 5px">
        相关代码 1:
    
        class A(object):
            def show(self):
                print ('init A...')
        
        class B(A):
            def show(self):
                super(B, self).show()
                print('init B...')
        class C(A):
            def show(self):
                # super(C, self).show()
                print('init C...')
        
        class D(B, C):
            def show(self):
                super(D, self).show()
                print('init D...')
        d = D()
        d.show()
        输出的结果是:
        
        init C...
        init B...
        init D...
        这里想问的是为什么没有经过 A,输出 init A...
        </div>
    
        <div class="am-list-news am-list-news-default am-panel" data-am-widget="list_news" style="border: 1px solid #dedede;border- 1px 0;">
          <!--列表标题-->
              <div class="am-list-news-hd am-cf">
                <h2>
                  评论
                </h2>
              </div>
              <div v-for="item,index in commentlist">
                <Comment :num=index+1 :name=item.usrname :posttime=item.updatetime :text=item.commenttext>  </Comment>
              </div>
              <el-row style="margin-top:0.8em;margin-bottom: 0.6em ">
                  <el-col :span="18">
                    <el-input type="textarea" v-model="commenttext"></el-input>
                  </el-col>
                  <el-col :span="1">.</el-col>
                  <el-col :span="3">
                    <el-button @click="postComment()" >提交</el-button>
                  </el-col>
            </el-row>
        </div>
    
      </div>
      </el-col>
      </el-row>
    
      </el-col>
      <el-col :xs="0" :sm="1" :md="2" :lg="2">.</el-col>
    </el-row>
    
    
    </div>
    </template>

    ArticleList.vue

    <template>
    
    
    
    
    
    
    
    
    
    
    
      
      <el-row id="Homepan" style="margin-top: 15px;" :gutter="10">
    
    
    
      <el-col :xs="0" :sm="1" :md="2" :lg="2">.</el-col>
      <el-col :xs="16" :sm="16" :md="16" :lg="16">
      <div style="    border: 1px solid #e6ebf5;">  
    
      <ArticleItem>11</ArticleItem>
      <ArticleItem>21</ArticleItem>
      <ArticleItem>21</ArticleItem>
      <ArticleItem>21</ArticleItem>
      <div class="block">
          <span class="demonstration"></span>
          <!--
          <el-pagination
            layout="prev, pager, next"
            :total="50">
          </el-pagination>
          -->
          <el-pagination style="text-align: center;"
                         @current-change="handleCurrentChange"
                         :current-page.sync="currentPage1"
                         :page-size.sync="pagesize"
                         layout="total, prev, pager, next"
                         :total.sync="total">
          </el-pagination>
        </div>
      </div>
    
      </el-col>
    
      <el-col :xs="5" :sm="5" :md="5" :lg="5">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>最热节点</span>              
          </div>
          <div>
              <el-tag>标签一</el-tag>
              <el-tag type="success">标签二</el-tag>
              <el-tag type="info">标签三</el-tag>
              <el-tag type="warning">标签四</el-tag>
              <el-tag type="danger">标签五</el-tag>
            </div>
        </el-card>
      </el-col>
    
    
    
    </el-row>
    </template>
    <style type="text/css">
    
    </style>
    <script>
    import ArticleItem from './ArticleItem.vue'
      export default {
    
          components : {
            "ArticleItem":ArticleItem
          },
        data() {
          return {
            value3: true,
            paraid:this.$route.params.id,
            rooms:[  {
              areaname:'雨花台',
              courtname:'    最好的 iPhone 投影到 mac 上的 app 是什么?',
              acreage:'',
              price:'',
              decoration:'',
              orientation:'',
              identification:'',
              rentmethod:'',
              roomnum:'',
              tingnum:'',
              washroomnum:'',
              surroundinginfo:'',
              roominfo:''
            }
            ],
            areaname: '*',
            currentPage1: 1,
            total:20,
            pagesize:10,
            my:1
          }
        },
        watch: {
          paraid (val, oldval) {
            debugger;
            alert(1);
            this.handleChangeValue();
          }
        },
        mounted:function () {
          this.handleChangeValue();
        },
        methods: {
          handleCurrentChange(val) {
            this.handleChangeValue();
          },
          handleChangeValue(){
            var url ="&areaname="+this.areaname+"&currentpage="+this.currentPage1+"&pagesize="+this.pagesize;
            this.getRooms(url);
          },
          formatTooltip(val) {
            return val ;
          },
    
          getRooms(url){
            //if(paraid==1)
            //alert(this.paraid);
            Object.assign(this.$data.my, 100);
            this.my=99;
            var gvue=this;
            this.$ajax({
              method: 'get',
              url: 'api/roommate/all?time='+new Date().getTime(),
              changeOrigin:true,
            }).then(function (response) {
              console.log(response);
              var Things = response.data.rows;
              gvue.rooms=Things;
              gvue.total=response.data.count;
            })
              .catch(function (error) {
                console.log(error);
              });
          }
        }
      }
    
    </script>

    comment

    <template>
      <div class="am-list-news-bd" style="border-bottom: 1px solid #dedede;">
        <el-row>
          <el-col :span="14">
            <small>{{num}}#&nbsp;&nbsp; <strong>{{name}}</strong><small>&nbsp;&nbsp;&nbsp;     {{posttime}}</small></small>
          </el-col>
          
    
          <el-col :span="10">
            <el-button  icon="el-icon-news" size="mini" style="border: 0px">回复</el-button>
          </el-col>
    
        </el-row>
    
        <el-row style="margin-top:0.6em;margin-bottom: 0.6em ">
          <el-col :span="23">
            {{text}}
          </el-col>
        </el-row>
      </div>
    </template>
    
    <script>
      export default {
        name: 'HelloWorld',
        props:['num','name','posttime','text'],
        data () {
          return {
            //msg: '敬请期待'
          }
        }
      }
    </script>
    
    <!-- Add "scoped" attribute to limit CSS to this component only -->
    <style scoped>
      .am-list-news-bd {text-align:left;margin-top:0.4em }
    </style>
  • 相关阅读:
    URLs
    上班确实累!!!
    转: java 双向map
    HttpReader
    QQ龙虎榜数据接口
    简易行情界面
    下载新浪的行情数据
    淘宝上的大智慧L2数据,月卡最便宜是8元钱,这个也可以获取BBD、DDX等数据!
    获取历史K线数据的几个方法
    好久不写博了.
  • 原文地址:https://www.cnblogs.com/cnchengv/p/9954244.html
Copyright © 2011-2022 走看看