| | |
| | | <result column="spare_field_1" property="spareField1" /> |
| | | <result column="spare_field_2" property="spareField2" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="product_code" property="productCode" /> |
| | | <result column="create_user" property="createUser" /> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_user" property="updateUser" /> |
| | |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id AS "id", formula_code AS "formulaCode", formula_name AS "formulaName", status AS "status", spare_field_1 AS "spareField1", spare_field_2 AS "spareField2", remark AS "remark", create_user AS "createUser", create_time AS "createTime", update_user AS "updateUser", update_time AS "updateTime" |
| | | product_code AS "productCode", id AS "id", formula_code AS "formulaCode", formula_name AS "formulaName", status AS "status", spare_field_1 AS "spareField1", spare_field_2 AS "spareField2", remark AS "remark", create_user AS "createUser", create_time AS "createTime", update_user AS "updateUser", update_time AS "updateTime" |
| | | </sql> |
| | | |
| | | |
| | |
| | | <if test="paramCondition.formulaName != null and paramCondition.formulaName != ''"> |
| | | and formula_name like CONCAT('%',#{paramCondition.formulaName},'%') |
| | | </if> |
| | | <if test="paramCondition.productCode != null and paramCondition.productCode != ''"> |
| | | and product_code like CONCAT('%',#{paramCondition.productCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.zsx.bs.formula.model.params.FormulaInfoParam"> |
| | |
| | | </if> |
| | | <if test="paramCondition.formulaName != null and paramCondition.formulaName != ''"> |
| | | and formula_name like CONCAT('%',#{paramCondition.formulaName},'%') |
| | | </if> |
| | | <if test="paramCondition.productCode != null and paramCondition.productCode != ''"> |
| | | and product_code like CONCAT('%',#{paramCondition.productCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | <if test="paramCondition.formulaName != null and paramCondition.formulaName != ''"> |
| | | and formula_name like CONCAT('%',#{paramCondition.formulaName},'%') |
| | | </if> |
| | | <if test="paramCondition.productCode != null and paramCondition.productCode != ''"> |
| | | and product_code like CONCAT('%',#{paramCondition.productCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customPageMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.zsx.bs.formula.model.params.FormulaInfoParam"> |
| | |
| | | <if test="paramCondition.formulaName != null and paramCondition.formulaName != ''"> |
| | | and formula_name like CONCAT('%',#{paramCondition.formulaName},'%') |
| | | </if> |
| | | <if test="paramCondition.productCode != null and paramCondition.productCode != ''"> |
| | | and product_code like CONCAT('%',#{paramCondition.productCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |