Browse Source

委外订单调整字段

zengtx 3 years ago
parent
commit
1e5da9419a

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/openApi/controller/MOMainController.java

@@ -103,7 +103,7 @@ public class MOMainController implements ApplicationContextAware {
                             " on mo.cPersonCode = hr1.cPsn_Num " +
                             " left join foreigncurrency curr " +
                             " on mo.cexch_name = curr.cexch_name " +
-                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and cAuditTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
+                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and mo.dCreateTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
 
 //            String sql1 = "select top 2 '903' as accId,MOID as MOID,cPersonCode as buyerCode,cexch_name as currencyCode,cVenPerson as customerContacts,'联系人电话' as customerContactsPhone,'123' as customerNumber,cVenAccount as headerAttributeString1," +
 //                    "'合同号' as headerAttributeString2,'0097' as headerAttributeString3,'' as headerAttributeString4,'3' as headerTaxRate,cCode as poNum,'01' as poType,'0085' as supplierNumber " +
@@ -129,7 +129,7 @@ public class MOMainController implements ApplicationContextAware {
                             " on mo.cPersonCode = hr1.cPsn_Num " +
                             " left join foreigncurrency curr " +
                             " on mo.cexch_name = curr.cexch_name " +
-                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and cAuditTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
+                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and mo.dCreateTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
 
                     List<Map<String, Object>> list = senYuDataSourceTwo.queryForList(sql);
                     for(Map<String, Object> map:list){
@@ -151,7 +151,7 @@ public class MOMainController implements ApplicationContextAware {
                             " on mo.cPersonCode = hr1.cPsn_Num " +
                             " left join foreigncurrency curr " +
                             " on mo.cexch_name = curr.cexch_name " +
-                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and cAuditTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
+                            " where ( mo.iVerifyStateNew = 2 or mo.cState = 2) and mo.dCreateTime>'"+lasttimeSf+"'  order by mo.dCreateTime desc";
 
                     List<Map<String, Object>> list = iSenYuDataSourceThree.queryForList(sql);
                     for(Map<String, Object> map:list){