md
This commit is contained in:
parent
8b5ec512eb
commit
1f60edb287
@ -148,12 +148,13 @@ public class EmisElectronicPagApplyController extends BaseController
|
||||
{
|
||||
try {
|
||||
String prefix=emisElectronicPagApply.getPrefix();
|
||||
String applySeqNo=emisElectronicPagApply.getApplySeq();
|
||||
String matialCode=emisElectronicPagApply.getMaterialCode();
|
||||
String useSiteCode=emisElectronicPagApply.getApplySiteCode();
|
||||
Integer applyNum=emisElectronicPagApply.getApplyCount();
|
||||
String remark=emisElectronicPagApply.getRemark();
|
||||
// prefix="T7080";
|
||||
return toAjax(emisElectronicPagService.sendByCenter(useSiteCode,matialCode,"T7080",applyNum,remark));
|
||||
return toAjax(emisElectronicPagService.sendByCenter(applySeqNo,useSiteCode,matialCode,"T7080",applyNum,remark));
|
||||
}catch (Exception ex){
|
||||
ex.printStackTrace();
|
||||
// 返回子定义异常
|
||||
|
||||
@ -47,7 +47,7 @@ public interface IEmisElectronicPagService
|
||||
* @return
|
||||
* @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
|
||||
@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 applySeqNo=nowStr+Math.round(Math.random() * 23 + 1000);
|
||||
// String nowStr=DateUtils.parseDateToStr(DateUtils.YYYYMMDDHHMMSS,new Date());
|
||||
// String applySeqNo=nowStr+Math.round(Math.random() * 23 + 1000);
|
||||
|
||||
EmisElectronicPagApply emisElectronicPagApply=new EmisElectronicPagApply();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user