Commit fafe8f49 authored by Carit Zhu's avatar Carit Zhu 🎱

Merge branch 'tdl_bosch_offset' into 'tdl_bosch'

Update SQL of addTDLDevice function to appoint column name for inserting TDLDevice data.

See merge request !2
parents 0e36b149 4de4ef08
Pipeline #450 passed with stage
in 0 seconds
......@@ -33,16 +33,11 @@
</select>
<insert id="addTDLDevice" parameterType="com.example.tdl.domain.vo.AddTDLDeviceVo">
INSERT INTO TDLDevice VALUES (
NULL ,
INSERT INTO TDLDevice(TDLName,TDLSN,counts,lastTime,company_id) VALUES (
#{TDLName,jdbcType=VARCHAR},
#{TDLSN,jdbcType=VARCHAR},
0,
0,
0,
NULL ,
NULL,
NULL,
(SELECT id from company where companyNo=#{companyNo,jdbcType=VARCHAR})
)
</insert>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment