feat: 工作组调账接口
This commit is contained in:
+18
@@ -561,6 +561,24 @@ public class PayWorkingGroupSubItemController extends JeroController<PayWorkingG
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 调账
|
||||
*
|
||||
* @param workGroupId 工作组Id
|
||||
* @param companyId 成员单位Id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "工作组成员-调账",operateType = 4)
|
||||
@RequiresPermissions("workingGroupMember:editAccount")
|
||||
@ApiOperation(value = "工作组成员-调账", notes = "工作组成员-调账")
|
||||
@GetMapping(value = "/editAccount")
|
||||
public Result<?> editAccount(@RequestParam(name = "workGroupId") String workGroupId,
|
||||
@RequestParam(name = "companyId") String companyId) {
|
||||
payWorkingGroupSubItemService.editAccount(workGroupId, companyId);
|
||||
payWorkingGroupSubItemService.delete(companyId);
|
||||
return Result.OK("调账成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
|
||||
+8
@@ -136,4 +136,12 @@ public interface IPayWorkingGroupSubItemService extends IService<PayWorkingGroup
|
||||
void deleteLabel(SetLabelVO setLabelVO);
|
||||
|
||||
List<PayWorkingGroupSubItem> queryList(QueryWrapper<PayWorkingGroupSubItem> queryPayWorkingGroupSubItem);
|
||||
|
||||
/**
|
||||
* 调账
|
||||
*
|
||||
* @param workGroupId 工作组id
|
||||
* @param companyId 成员单位id
|
||||
*/
|
||||
void editAccount(String workGroupId, String companyId);
|
||||
}
|
||||
|
||||
+398
-321
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user