md
This commit is contained in:
parent
8b5ec512eb
commit
1f60edb287
@ -148,12 +148,13 @@ public class EmisElectronicPagApplyController extends BaseController
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
String prefix=emisElectronicPagApply.getPrefix();
|
String prefix=emisElectronicPagApply.getPrefix();
|
||||||
|
String applySeqNo=emisElectronicPagApply.getApplySeq();
|
||||||
String matialCode=emisElectronicPagApply.getMaterialCode();
|
String matialCode=emisElectronicPagApply.getMaterialCode();
|
||||||
String useSiteCode=emisElectronicPagApply.getApplySiteCode();
|
String useSiteCode=emisElectronicPagApply.getApplySiteCode();
|
||||||
Integer applyNum=emisElectronicPagApply.getApplyCount();
|
Integer applyNum=emisElectronicPagApply.getApplyCount();
|
||||||
String remark=emisElectronicPagApply.getRemark();
|
String remark=emisElectronicPagApply.getRemark();
|
||||||
// prefix="T7080";
|
// prefix="T7080";
|
||||||
return toAjax(emisElectronicPagService.sendByCenter(useSiteCode,matialCode,"T7080",applyNum,remark));
|
return toAjax(emisElectronicPagService.sendByCenter(applySeqNo,useSiteCode,matialCode,"T7080",applyNum,remark));
|
||||||
}catch (Exception ex){
|
}catch (Exception ex){
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
// 返回子定义异常
|
// 返回子定义异常
|
||||||
|
|||||||
@ -47,7 +47,7 @@ public interface IEmisElectronicPagService
|
|||||||
* @return
|
* @return
|
||||||
* @throws EmisBizError
|
* @throws EmisBizError
|
||||||
*/
|
*/
|
||||||
public int sendByCenter(String applySiteCode,String materialCode,String prefix,Integer applyNum,String remark) throws EmisBizError;
|
public int sendByCenter(String applySeqNo,String applySiteCode,String materialCode,String prefix,Integer applyNum,String remark) throws EmisBizError;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询电子面单列表
|
* 查询电子面单列表
|
||||||
|
|||||||
@ -185,11 +185,11 @@ public class EmisElectronicPagServiceImpl extends EmisBaseService implements IEm
|
|||||||
*/
|
*/
|
||||||
@Transactional
|
@Transactional
|
||||||
@Override
|
@Override
|
||||||
public int sendByCenter(String applySiteCode,String materialCode,String prefix,Integer applyNum,String remark) throws EmisBizError {
|
public int sendByCenter(String applySeqNo,String applySiteCode,String materialCode,String prefix,Integer applyNum,String remark) throws EmisBizError {
|
||||||
|
|
||||||
// 生成流水号
|
// 生成流水号
|
||||||
String nowStr=DateUtils.parseDateToStr(DateUtils.YYYYMMDDHHMMSS,new Date());
|
// String nowStr=DateUtils.parseDateToStr(DateUtils.YYYYMMDDHHMMSS,new Date());
|
||||||
String applySeqNo=nowStr+Math.round(Math.random() * 23 + 1000);
|
// String applySeqNo=nowStr+Math.round(Math.random() * 23 + 1000);
|
||||||
|
|
||||||
EmisElectronicPagApply emisElectronicPagApply=new EmisElectronicPagApply();
|
EmisElectronicPagApply emisElectronicPagApply=new EmisElectronicPagApply();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user