|
|
@@ -19,6 +19,7 @@ import com.goafanti.order.service.OrderAssistService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
@@ -246,6 +247,7 @@ public class AdminNewOrderApiController extends CertifyApiController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getProcessName", method = RequestMethod.GET)
|
|
|
+ @Cacheable(value = "getProcessName", key = "'BannersList:Key:'+#orderNo")
|
|
|
public Result getProcessName(String orderNo){
|
|
|
Result res = new Result();
|
|
|
if(StringUtils.isBlank(orderNo)){
|