作者 yangfu

表结构调整

@@ -334,8 +334,8 @@ func BulkInsertSelfChecks(header *protocol.RequestHeader, relateId, chanceId int @@ -334,8 +334,8 @@ func BulkInsertSelfChecks(header *protocol.RequestHeader, relateId, chanceId int
334 var ( 334 var (
335 count int 335 count int
336 err error 336 err error
337 - Exists = `select count(0) from chance_self_check where chanceId=? and relateId=?`  
338 - DeleteExistedSubmitRow = `delete from chance_self_check where relateId=? and type=? and user_company_id=?` //删除提交人自查数据 337 + Exists = `select count(0) from chance_self_check where chance_id=? and relate_id=?`
  338 + DeleteExistedSubmitRow = `delete from chance_self_check where relate_id=? and type=? and user_company_id=?` //删除提交人自查数据
339 ) 339 )
340 if len(selfChecks) == 0 { 340 if len(selfChecks) == 0 {
341 return 341 return