作者 yangfu

表结构调整

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