| | |
| | | delete from oth_statistic_device |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_statistic_device (statistic_date, plan_id, pro_id, |
| | | insert into oth_statistic_device (id,statistic_date, plan_id, pro_id, |
| | | `number`, dt) |
| | | values (#{statisticDate,jdbcType=VARCHAR}, #{planId,jdbcType=BIGINT}, #{proId,jdbcType=BIGINT}, |
| | | values (#{id,jdbcType=BIGINT}, #{statisticDate,jdbcType=VARCHAR}, #{planId,jdbcType=BIGINT}, #{proId,jdbcType=BIGINT}, |
| | | #{number,jdbcType=INTEGER}, #{dt,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoOth.OthStatisticDevice"> |
| | | <!--@mbg.generated--> |
| | | insert into oth_statistic_device |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="statisticDate != null"> |
| | | statistic_date, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="statisticDate != null"> |
| | | #{statisticDate,jdbcType=VARCHAR}, |
| | | </if> |