|
|
@@ -929,4 +929,18 @@ public class StaffService extends BaseService<Staff> {
|
|
|
return ResponseResultUtil.error(-200,"绑定员工不存在");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @desc : 更新负责人标识
|
|
|
+ * @author : 刘尧
|
|
|
+ * @date : 2024/6/21 16:24
|
|
|
+ */
|
|
|
+ public ResponseResultVO updateFlgInit(Map<String, Object> params) {
|
|
|
+ boolean updateBool = staffMapper.updateFlgInit(params);
|
|
|
+ if (updateBool){
|
|
|
+ updateBool = staffMapper.updateFlgInitById(String.valueOf(params.get("owner")));
|
|
|
+ return ResponseResultUtil.success(updateBool);
|
|
|
+ }
|
|
|
+ return ResponseResultUtil.error();
|
|
|
+ }
|
|
|
}
|