作者 yangfu

sql 修改

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