You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by Chen Xia <ca...@apache.org> on 2023/03/09 13:24:16 UTC

[DISCUSS]About Mybatis mapper format requirements

https://github.com/apache/linkis/pull/4293

1. Keywords in sql need to be capitalized
    select—>SELECT
    ordey by—>ORDEY BY

2. Qualified names must be written for input parameters and return parameters
   parameterType="InstanceInfo"—>parameterType="org.apache.linkis.instance.label.entity.InstanceInfo"
   resultType="String"—>resultType="java.lang.String"

3. Beautify the sql style, clear
  A line of sql should not exceed four fields


Best Regards!
Chen Xia.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org