|
|
|
@ -7,12 +7,15 @@ import com.gaotao.modules.print.service.PrintService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.apache.tomcat.util.net.openssl.ciphers.Authentication; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.ui.Model; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpSession; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
@Controller |
|
|
|
@ -22,6 +25,9 @@ public class PrintController { |
|
|
|
@Autowired |
|
|
|
private PrintService printService; |
|
|
|
|
|
|
|
@Value("${clodp.printUrl}") |
|
|
|
private String printUrl; |
|
|
|
|
|
|
|
/** |
|
|
|
* @Author sxm |
|
|
|
* @Description 转储订单 标签打印 |
|
|
|
@ -35,6 +41,7 @@ public class PrintController { |
|
|
|
// session.setAttribute("dumpPrintList",crt00000018); |
|
|
|
List<DumpPrint> dumpPrintList = (List<DumpPrint>)session.getAttribute("dumpPrintList"); |
|
|
|
model.addAttribute("dumpPrintList", JSONObject.toJSONString(dumpPrintList)); |
|
|
|
session.setAttribute("printIp",printUrl); |
|
|
|
return "print/dump_order"; |
|
|
|
} |
|
|
|
|