作者 yangfu

sql 修改

@@ -211,7 +211,7 @@ func PositionDelete(param protocol.RequestPositionDelete) error { @@ -211,7 +211,7 @@ func PositionDelete(param protocol.RequestPositionDelete) error {
211 ) 211 )
212 const ( 212 const (
213 //获取部门子集, 213 //获取部门子集,
214 - dataSql0 string = `SELECT id,relation,member FROM position WHERE relation LIKE ? AND delete_at = 0 ` 214 + dataSql0 string = `SELECT id,relation FROM position WHERE relation LIKE ? AND delete_at = 0 `
215 dataSql2 string = `update position set delete_at=? where relation LIKE ?` 215 dataSql2 string = `update position set delete_at=? where relation LIKE ?`
216 ) 216 )
217 for _, id := range param.IDs { 217 for _, id := range param.IDs {