lizijie
2021-05-26 c39c2270fcd63bf2700120cb9d2115027e0b57d2
因子上下限空字符串判断
1 files modified
10 ■■■■■ changed files
screen-manage/src/main/resources/mapper/SensorMapper.xml 10 ●●●●● patch | view | raw | blame | history
screen-manage/src/main/resources/mapper/SensorMapper.xml
@@ -85,11 +85,21 @@
                code = #{code},
            </if>
            <if test="upper != null">
                <if test="upper == ''">
                    upper = null,
                </if>
                <if test="upper != ''">
                upper = #{upper},
            </if>
            </if>
            <if test="lower != null">
                <if test="lower == ''">
                    lower = null,
                </if>
                <if test="lower != ''">
                lower = #{lower},
            </if>
            </if>
            <if test="default_unit_key != null">
                default_unit_key = #{default_unit_key},
            </if>