@@ -397,6 +397,19 @@ public class ExpenseAccountController extends CertifyApiController {
}
/**
+ * 修改报销详情类型说明
+ */
+ @RequestMapping(value = "/updateDetailsTypeOther",method = RequestMethod.POST)
+ public Result updateDetailsTypeOther(Integer id , String typeOther){
+ Result res =new Result();
+ if (id==null){
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"编号"));
+ return res;
+ }
+ return res.data(expenseAccountService.updateDetailsTypeOther( id, typeOther));
+
+ /**
* 主类分类说明
*/
@RequestMapping(value = "/pushAll",method = RequestMethod.GET)
@@ -72,4 +72,6 @@ public interface ExpenseAccountService {
Object getDepDetails(Integer id);
Object updateTypeOther(Integer id, String typeOther,String remarks,String orderNo);
+ Object updateDetailsTypeOther(Integer id, String typeOther);
@@ -422,6 +422,14 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
return 1;
+ @Override
+ public Object updateDetailsTypeOther(Integer id, String typeOther) {
+ ExpenseAccountDetails in =new ExpenseAccountDetails();
+ in.setId(id);
+ in.setTypeOther(typeOther);
+ return expenseAccountDetailsMapper.updateByPrimaryKeySelective(in);
private void pushResettingDebit(InputExpenseAccount in, Integer debitId) {
ExpenseAccount debit = expenseAccountMapper.selectByPrimaryKey(debitId);