销售发票调整
This commit is contained in:
parent
596f18ae49
commit
48a5679ac4
|
@ -390,9 +390,13 @@ public class saveCommitAction extends AbstractNCCRestResource {
|
||||||
|
|
||||||
private static Map<String, Object> getSaleorderVo(String csourcebillbidStr) throws BusinessException {
|
private static Map<String, Object> getSaleorderVo(String csourcebillbidStr) throws BusinessException {
|
||||||
IUAPQueryBS queryBS = NCLocator.getInstance().lookup(IUAPQueryBS.class);
|
IUAPQueryBS queryBS = NCLocator.getInstance().lookup(IUAPQueryBS.class);
|
||||||
String sql = " select s.vbillcode,s.csaleorderid,sb.csaleorderbid,sb.crowno,sb.blargessflag,sb.nexchangerate,s.corigcurrencyid from so_saleorder_b sb\n"
|
String sql = " select s.vbillcode,s.csaleorderid, s.corigcurrencyid," +
|
||||||
+ "inner join so_saleorder s on sb.csaleorderid=s.csaleorderid\n"
|
" sb.csaleorderbid,sb.crowno,sb.blargessflag,sb.nexchangerate," +
|
||||||
+ "where sb.csaleorderbid='" + csourcebillbidStr + "' ";
|
" bdc.code currencycode" +
|
||||||
|
" from so_saleorder_b sb" +
|
||||||
|
" inner join so_saleorder s on sb.csaleorderid=s.csaleorderid" +
|
||||||
|
" left join bd_currtype bdc on s.corigcurrencyid=bdc.pk_currtype" +
|
||||||
|
" where sb.csaleorderbid='" + csourcebillbidStr + "' ";
|
||||||
Map<String, Object> value2 = (Map<String, Object>) queryBS.executeQuery(sql, new MapProcessor());
|
Map<String, Object> value2 = (Map<String, Object>) queryBS.executeQuery(sql, new MapProcessor());
|
||||||
return value2;
|
return value2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue