Index: ssts-web/src/main/resources/local-mybatis-config.xml =================================================================== diff -u -r24632 -r24661 --- ssts-web/src/main/resources/local-mybatis-config.xml (.../local-mybatis-config.xml) (revision 24632) +++ ssts-web/src/main/resources/local-mybatis-config.xml (.../local-mybatis-config.xml) (revision 24661) @@ -5,7 +5,12 @@ + + + + + Index: ssts-web/src/main/resources/mybatis/mappers/common.xml =================================================================== diff -u -r24357 -r24661 --- ssts-web/src/main/resources/mybatis/mappers/common.xml (.../common.xml) (revision 24357) +++ ssts-web/src/main/resources/mybatis/mappers/common.xml (.../common.xml) (revision 24661) @@ -5,21 +5,70 @@ - - - - + + - AND (${item.db} BETWEEN #{item.min} AND #{item.max}) + (${item.columnLabel} BETWEEN #{item.min} AND #{item.max}) - AND (${item.dbField} LIKE concat('%',#{item.filter.value},'%')) + (${item.columnLabel} LIKE concat('%',#{item.value},'%')) + (${item.columnLabel} ${item.operator} #{item.value}) + + + + + + + (${item_l2.columnLabel} BETWEEN #{item_l2.min} AND #{item_l2.max}) + + + (${item_l2.columnLabel} LIKE concat('%',#{item_l2.value},'%')) + + + (${item_l2.columnLabel} ${item_l2.operator} #{item_l2.value}) + + + + + + + ${item.logicalOperator} + + + + + + + + + + ${logicalOperator} + + + + + + + + - + + + + + + ${orderBySql} \ No newline at end of file Index: ssts-web/src/main/resources/mybatis/mappers/test/test.xml =================================================================== diff -u --- ssts-web/src/main/resources/mybatis/mappers/test/test.xml (revision 0) +++ ssts-web/src/main/resources/mybatis/mappers/test/test.xml (revision 24661) @@ -0,0 +1,58 @@ + + + + + + + + + + + + + \ No newline at end of file