|
|
@@ -23,6 +23,15 @@ public class RedDotTest extends BaseJunitTest {
|
|
|
|
|
|
private static final String sql = "insert into reddot$all (red_date, red_enuu, red_orid,red_ortype, red_venduu) ";
|
|
|
|
|
|
+ /**
|
|
|
+ * 复制数据到临时表
|
|
|
+ */
|
|
|
+ @Test
|
|
|
+ public void copyUserOrdersToRedTemplate() {
|
|
|
+ String sql = "insert into reddot_template(rt_table,rt_orderid) select puo_table,puo_sourceid from purc$userorders group by puo_table,puo_sourceid";
|
|
|
+ commonDao.getJdbcTemplate().execute(sql);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 复制数据到全部消息
|
|
|
*/
|