美文网首页
2018-08-30

2018-08-30

作者: 支照 | 来源:发表于2018-08-30 17:19 被阅读0次
    SELECT * from yffee_favourable_detail yfd LEFT JOIN yffee_favourable yf on yfd.minor_id = yf.major_id 
    

    横向流程图源码格式:

    
    graph LR
    
    A[方形] -->B(圆角)
    
        B --> C{条件a}
    
        C -->|a=1| D[结果1]
    
        C -->|a=2| E[结果2]
    
        F[横向流程图]
    
    

    竖向流程图源码格式:

    
    graph TD
    
    A[方形] -->B(圆角)
    
        B --> C{条件a}
    
        C -->|a=1| D[结果1]
    
        C -->|a=2| E[结果2]
    
        F[竖向流程图]
    
    

    标准流程图源码格式:

    st=>start: Start
    op=>operation: Your Operation
    cond=>condition: Yes or No?
    e=>end
    
    st->op->cond
    cond(yes)->e
    cond(no)->op
    

    标准流程图源码格式(横向):

    
    st=>start: 开始框
    
    op=>operation: 处理框
    
    cond=>condition: 判断框(是或否?)
    
    sub1=>subroutine: 子流程
    
    io=>inputoutput: 输入输出框
    
    e=>end: 结束框
    
    st(right)->op(right)->cond
    
    cond(yes)->io(bottom)->e
    
    cond(no)->sub1(right)->op
    
    

    UML时序图源码样例:

    
    对象A->对象B: 对象B你好吗?(请求)
    
    Note right of 对象B: 对象B的描述
    
    Note left of 对象A: 对象A的描述(提示)
    
    对象B-->对象A: 我很好(响应)
    
    对象A->对象B: 你真的好吗?
    
    
    
    用户->父系统: 登录(请求)
    
    父系统->父系统: 验证成功,生成token
    
    父系统->用户: 登录成功
    
    用户->子系统: 登录(请求)
    
    子系统->父系统: 请求
    
    父系统->父系统: 用户是否已经登录
    
    父系统->子系统: 是否携带token
    
    子系统->用户: 通过验证,并登录成功
    
    
    

    1、通过父系统直接登录到子系统流程如上图所示:

    2、子系统覆盖原有的(主系统)主页,如果覆盖,是否有返回主页的入口

    子系统是打开新的tab页,子系统是否有退出系统的操作,退出操作是退出子系统的操作还是退出整个应用(父子系统)的操作。

    3、子系统是否有自己独立的登录模块。

    4、主系统退出系统,子系统是否退出。

    5、父系统和子系统的登录有效时长是否一致。

    UML时序图源码复杂样例:

    
    Title: 标题:复杂使用
    
    对象A->对象B: 对象B你好吗?(请求)
    
    Note right of 对象B: 对象B的描述
    
    Note left of 对象A: 对象A的描述(提示)
    
    对象B-->对象A: 我很好(响应)
    
    对象B->小三: 你好吗
    
    小三-->>对象A: 对象B找我了
    
    对象A->对象B: 你真的好吗?
    
    Note over 小三,对象B: 我们是朋友
    
    participant C
    
    Note right of C: 没人陪我玩
    
    

    UML标准时序图样例:

    
    %% 时序图例子,-> 直线,-->虚线,->>实线箭头
    
      sequenceDiagram
    
        participant 张三
    
        participant 李四
    
        张三->王五: 王五你好吗?
    
        loop 健康检查
    
            王五->王五: 与疾病战斗
    
        end
    
        Note right of 王五: 合理 食物 <br/>看医生...
    
        李四-->>张三: 很好!
    
        王五->李四: 你怎么样?
    
        李四-->王五: 很好!
    
    

    Gantt

    %% Example with slection of syntaxes
    gantt
    dateFormat  YYYY-MM-DD
    title Adding GANTT diagram functionality to mermaid
    
    section A section
    Completed task            :done,    des1, 2014-01-06,2014-01-08
    Active task               :active,  des2, 2014-01-09, 3d
    Future task               :         des3, after des2, 5d
    Future task2               :         des4, after des3, 5d
    
    section Critical tasks
    Completed task in the critical line :crit, done, 2014-01-06,24h
    Implement parser and jison          :crit, done, after des1, 2d
    Create tests for parser             :crit, active, 3d
    Future task in critical line        :crit, 5d
    Create tests for renderer           :2d
    Add to mermaid                      :1d
    
    section Documentation
    Describe gantt syntax               :active, a1, after des1, 3d
    Add gantt diagram to demo page      :after a1  , 20h
    Add another diagram to demo page    :doc1, after a1  , 48h
    
    section Last section
    Describe gantt syntax               :after doc1, 3d
    Add gantt diagram to demo page      : 20h
    Add another diagram to demo page    : 48h
    

    相关文章

      网友评论

          本文标题:2018-08-30

          本文链接:https://www.haomeiwen.com/subject/lfedwftx.html