洪城义警-正式版后台
钟日健
2022-02-22 1577dc6e98d7b7021852ee78dc56e975b0a01303
src/main/java/org/springblade/modules/energy/mapper/EnergyMapper.xml
@@ -17,7 +17,11 @@
    <update id="updateEnergyId">
        UPDATE sys_energy SET
            type = 0 WHERE id = #{id}
            type = 0 WHERE id = #{id} and identification=#{identification}
    </update>
    <update id="updateEnergyIds">
        UPDATE sys_energy SET
            type = 0 WHERE id = #{id} and identification=#{identification}
    </update>
    <select id="selectType" resultType="java.lang.String">