|
|
@@ -96,7 +96,7 @@ public class B2BInformation extends AbstractTask{
|
|
|
}
|
|
|
|
|
|
if (rest.getOfferQuoteInfo().getFsEnuu() > 0) {
|
|
|
- int count = jdbcTemplate.count("from CustomerQuota where CQ_CUSTNAME ='"+rest.getOfferQuoteInfo().getFsEnName()+"'");
|
|
|
+ int count = jdbcTemplate.count("from CustomerQuota where CQ_CODE ='"+rest.getOfferQuoteInfo().getCode()+"'");
|
|
|
String code = jdbcTemplate.getString("select MAX(CU_CODE) from CUSTOMERINFOR WHERE CU_STATUSCODE" +
|
|
|
" <> 'DISABLE' AND NVL(CU_ENUU,0) = " + rest.getOfferQuoteInfo().getFsEnuu());
|
|
|
if (count==0){
|