Compare commits

..

No commits in common. "6d2796d22b5b897ce1a1967a87dd2835163d3302" and "c6875f0f8b155508f6e87ecfa133ac0aea1313dc" have entirely different histories.

2 changed files with 0 additions and 31 deletions

View File

@ -1,9 +1,7 @@
package com.bonus.sgzb.base.mapper;
import java.util.List;
import com.bonus.sgzb.base.domain.MaLabelBind;
import com.bonus.sgzb.base.vo.MaLabelBindVO;
import org.apache.ibatis.annotations.Mapper;
/**
* 机具设备标签ma_label_bindMapper接口
@ -11,7 +9,6 @@ import org.apache.ibatis.annotations.Mapper;
* @author bonus
* @date 2023-12-13
*/
@Mapper
public interface MaLabelBindMapper
{
/**
@ -68,6 +65,4 @@ public interface MaLabelBindMapper
* @return 结果
*/
public int updateMaLabelBindByMaIds(Long maId);
int insertLabelBind(MaLabelBind maLabelBind);
}

View File

@ -87,7 +87,6 @@
<insert id="insertMaLabelBindS" parameterType="com.bonus.sgzb.base.vo.MaLabelBindVO" useGeneratedKeys="true" keyProperty="maId">
insert into ma_label_bind
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="maId != null">ma_id,</if>
<if test="labelCode != null">label_code,</if>
<if test="typeId != null">type_id,</if>
<if test="binder != null">binder,</if>
@ -97,7 +96,6 @@
<if test="status != null">status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="maId != null">#{maId},</if>
<if test="labelCode != null">#{labelCode},</if>
<if test="typeId != null">#{typeId},</if>
<if test="binder != null">#{binder},</if>
@ -107,30 +105,6 @@
<if test="status != null">#{status},</if>
</trim>
</insert>
<insert id="insertLabelBind">
insert into ma_label_bind
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="maId != null">ma_id,</if>
<if test="labelCode != null">label_code,</if>
<if test="typeId != null">type_id,</if>
<if test="binder != null">binder,</if>
<if test="labelType != null">label_type,</if>
<if test="companyId != null">company_id,</if>
<if test="isBind != null">binder_time,</if>
<if test="status != null">status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="maId != null">#{maId},</if>
<if test="labelCode != null">#{labelCode},</if>
<if test="typeId != null">#{typeId},</if>
<if test="binder != null">#{binder},</if>
<if test="labelType != null">#{labelType},</if>
<if test="companyId != null">#{companyId},</if>
<if test="isBind != null">#{binderTime},</if>
<if test="status != null">#{status},</if>
</trim>
</insert>
</insert>
<update id="insertMaLabelBind" parameterType="com.bonus.sgzb.base.vo.MaLabelBindVO">
update ma_label_bind
<trim prefix="SET" suffixOverrides=",">