@SpringBootTest(classes = TelemarketCoreApplication.class) @RunWith(SpringRunner.class) @ActiveProfiles("test") public class CouponsInfoServiceTest { @MockBean RestTemplate restTemplate; @Autowired private CouponsInfoService couponsInfoService; @Before public void setUp() { MockitoAnnotations.initM…
2022-06-24 16:35 · java
import java.io.*; import java.util.ArrayList; import java.util.List; public class StringToolSqlFormatter { private static final String SQL_1 = "update t_call_data set DECISION_COMPLETE_TYPE='BATCH_DECISION_COMPILTE' where REGISTER_ID=%s and DATE_FORMAT(IMPORT_TIME,'%Y-%m-%e')=" + "DATE_FORMAT(IMPOR…
2022-02-11 11:45 · java