|
@@ -281,14 +281,14 @@ public class ERPServiceImpl implements ERPService {
|
|
|
return ApiResponse.failRsp("102",type + " 参数单据日期为空!");
|
|
return ApiResponse.failRsp("102",type + " 参数单据日期为空!");
|
|
|
}
|
|
}
|
|
|
String ar_type = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
String ar_type = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
- String ar_currencytype = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
- String ar_accountcode = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
- String ar_accountname = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
- String ar_accountcurrency = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
- String ar_accountrate = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
|
|
+ String ar_currencytype = accountRegisterMain.getCurrencytype() == null ? "" : accountRegisterMain.getCurrencytype();
|
|
|
|
|
+ String ar_accountcode = accountRegisterMain.getAccountcode() == null ? "" : accountRegisterMain.getAccountcode();
|
|
|
|
|
+ String ar_accountname = accountRegisterMain.getAccountname() == null ? "" : accountRegisterMain.getAccountname();
|
|
|
|
|
+ String ar_accountcurrency = accountRegisterMain.getAccountcurrency() == null ? "" : accountRegisterMain.getAccountcurrency();
|
|
|
|
|
+ String ar_accountrate = accountRegisterMain.getAccountrate() == null ? "" : accountRegisterMain.getAccountrate();
|
|
|
//String ar_payment = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
//String ar_payment = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
- String ar_departmentcode = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
- String ar_departmentname = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
|
|
|
|
+ String ar_departmentcode = accountRegisterMain.getDepartmentcode() == null ? "" : accountRegisterMain.getDepartmentcode();
|
|
|
|
|
+ String ar_departmentname = accountRegisterMain.getDepartmentname() == null ? "" : accountRegisterMain.getDepartmentname();
|
|
|
//String ar_cateid = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
//String ar_cateid = accountRegisterMain.getType() == null ? "" : accountRegisterMain.getType();
|
|
|
String Sql="insert into AccountRegister(ar_id,ar_code,ar_date,ar_type,ar_currencytype,ar_accountcode,ar_accountname,ar_accountcurrency,ar_accountrate" +
|
|
String Sql="insert into AccountRegister(ar_id,ar_code,ar_date,ar_type,ar_currencytype,ar_accountcode,ar_accountname,ar_accountcurrency,ar_accountrate" +
|
|
|
",ar_payment,ar_departmentcode,ar_departmentname,ar_cateid,ar_emid,ar_recordman,ar_status,ar_statuscode,ar_poststatus,ar_poststatuscode)" +
|
|
",ar_payment,ar_departmentcode,ar_departmentname,ar_cateid,ar_emid,ar_recordman,ar_status,ar_statuscode,ar_poststatus,ar_poststatuscode)" +
|