| | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.common.webUtil.ResultCodeMsg; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaUser; |
| | | import com.dy.pipIrrGlobal.util.Constant; |
| | | import com.mysql.cj.util.StringUtils; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | |
| | | po.id = null; |
| | | int count; |
| | | try { |
| | | po.supperAdmin = Constant.no.byteValue() ; |
| | | po.disabled = Disabled.NO;//默认不禁用 |
| | | po.deleted = Deleted.NO;//默认不删除 |
| | | po.orgTag = DataSourceContext.get();//机构标签 |
| | |
| | | } |
| | | int count; |
| | | try { |
| | | po.supperAdmin = null;//设置为null,不做更新 |
| | | po.deleted = null;//设置为null,不做更新 |
| | | po.orgTag = null;//设置为null,不做更新 |
| | | count = this.sv.update(po); |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | /* |
| | | * 2023-12-05 在 save和update方法中进行了角色设置关联,本方法废弃 |
| | | * 设置用户角色 |
| | | * |