| | |
| | | <if test="partId != null">and part_id = #{partId}</if> |
| | | <if test="partName != null">and part_name = #{partName}</if> |
| | | <if test="typeId != null">and type_id = #{typeId}</if> |
| | | <if test="typeName != null">and type_name = #{type}</if> |
| | | <!-- 原为 `#{type}`:实体上只有 typeName(test 里用的也是 typeName), |
| | | `type` 不存在 —— 该分支一走到就抛 |
| | | ReflectionException: no getter for 'type'。 --> |
| | | <if test="typeName != null">and type_name = #{typeName}</if> |
| | | <if test="filmFlag != null">and film_flag = #{filmFlag}</if> |
| | | <if test="bedFlag != null">and bed_flag = #{bedFlag}</if> |
| | | <if test="pushFlag != null">and push_flag = #{pushFlag}</if> |