Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
789d944833
|
@ -339,7 +339,7 @@ public class AfterApproveRuleSyncMes implements IRule<PMOAggVO> {
|
|||
addProperty(properties, "SXZF18", head.getVtrantypecode());
|
||||
|
||||
// SXZF22 - 生产订单交易类型编码
|
||||
addProperty(properties, "SXZF22", head.getVtrantypecode());
|
||||
// addProperty(properties, "SXZF22", head.getVtrantypecode());
|
||||
|
||||
// SXZF23 - 生产订单主键
|
||||
addProperty(properties, "SXZF23", head.getCpmohid());
|
||||
|
|
|
@ -407,10 +407,9 @@ public class IAPISaleInvMaitainImpl {
|
|||
}
|
||||
|
||||
private String getTaxcode(String taxrateStr) throws BusinessException {
|
||||
UFDouble taxrate = new UFDouble(taxrateStr==null?"0":taxrateStr).multiply(100).setScale(2, UFDouble.ROUND_HALF_UP);
|
||||
IUAPQueryBS queryBS = NCLocator.getInstance().lookup(IUAPQueryBS.class);
|
||||
String sql = " select code FROM bd_taxrate tt inner join bd_taxcode tc on tt.pk_taxcode=tc.pk_taxcode where TO_NUMBER(taxrate)='"
|
||||
+ taxrate.toString() + "' AND ROWNUM = 1 ";
|
||||
String sql = " select code FROM bd_taxrate tt inner join bd_taxcode tc on tt.pk_taxcode=tc.pk_taxcode where taxrate='"
|
||||
+ taxrateStr + "' AND ROWNUM = 1 ";
|
||||
String taxcodeStr = (String) queryBS.executeQuery(sql, new ColumnProcessor());
|
||||
return taxcodeStr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue