| | |
| | | ) |
| | | </foreach> |
| | | </insert> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial"> |
| | | <!--@mbg.generated--> |
| | | insert into pr_bill_of_material (node_id, file_id) |
| | | values (#{nodeId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}) |
| | | insert into pr_bill_of_material (id, node_id, file_id) |
| | | values (#{id,jdbcType=BIGINT}, #{nodeId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrBillOfMaterial"> |
| | | <!--@mbg.generated--> |
| | | insert into pr_bill_of_material |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="nodeId != null"> |
| | | node_id, |
| | | </if> |
| | |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="nodeId != null"> |
| | | #{nodeId,jdbcType=BIGINT}, |
| | | </if> |