Commit c107a93d by huluobin

# 费用系统 类型

parent ca5c4fb5
......@@ -365,7 +365,6 @@ public class CostController {
costService = CostServiceFactory.getCostService(costNo);
costService.cashierCallback(cashierCallbackUrlVo);
return result;
}
......
......@@ -30,6 +30,6 @@ public class CostTypeModifyReq {
private Integer currentUserId;
@ApiModelProperty("是否管理成本")
private Boolean isMangeCost;
private Boolean isManageCost;
}
......@@ -88,7 +88,7 @@ public class CostTypeServiceImpl extends ServiceImpl<CostTypeDao, CostTypeDomain
costTypeDomain.setLastUpdateTime(LocalDateTime.now());
costTypeDomain.setAccountingSubjectNo(req.getAccountingSubjectNo());
costTypeDomain.setIsManageCost(req.getIsMangeCost());
costTypeDomain.setIsManageCost(req.getIsManageCost());
log.info("{} 更新会计一级科目", oaUser.getUserName());
......
......@@ -51,7 +51,8 @@
t1.update_user_id,
t1.last_update_time,
t1.create_user_id,
t1.create_user
t1.create_user,
t1.is_manage_cost
from cost_type t1
left join accounting_subject t2 on t1.accounting_subject_no = t2.subject_no
where t1.id = #{id}
......@@ -68,7 +69,8 @@
t1.update_user_id,
t1.last_update_time,
t1.create_user_id,
t1.create_user
t1.create_user,
t1.is_manage_cost
from cost_type t1
left join accounting_subject t2 on t1.accounting_subject_no = t2.subject_no
where t1.type_no = #{typeNo}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment