请领指令暂去掉try
This commit is contained in:
parent
9104aa5c3d
commit
f59d745e74
|
|
@ -126,17 +126,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlsq(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlsq(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("qlsq")){
|
// if(code!=null&&!code.equals("")&&code.equals("qlsq")){
|
||||||
try{
|
// try{
|
||||||
qlOrdersService.flowQlsq(invoicingOrdersEntity);
|
qlOrdersService.flowQlsq(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领申请失败:"+e.getMessage());
|
// return Result.error("请领申请失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("请领申请流程编码错误");
|
// return Result.error("请领申请流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -146,17 +146,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlsqR(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlsqR(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if (code != null && !code.equals("") && code.equals("qlsqr")) {
|
// if (code != null && !code.equals("") && code.equals("qlsqr")) {
|
||||||
try {
|
// try {
|
||||||
qlOrdersService.flowQlsqR(invoicingOrdersEntity);
|
qlOrdersService.flowQlsqR(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领重新申请失败:"+e.getMessage());
|
// return Result.error("请领重新申请失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
} else {
|
// } else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("重新请领申请流程编码错误");
|
// return Result.error("重新请领申请流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -166,17 +166,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlck(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlck(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("qlck")){
|
// if(code!=null&&!code.equals("")&&code.equals("qlck")){
|
||||||
try {
|
// try {
|
||||||
qlOrdersService.flowQlck(invoicingOrdersEntity);
|
qlOrdersService.flowQlck(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领出库失败:"+e.getMessage());
|
// return Result.error("请领出库失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("请领出库流程编码错误");
|
// return Result.error("请领出库流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -186,17 +186,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlht(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlht(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("qlht")){
|
// if(code!=null&&!code.equals("")&&code.equals("qlht")){
|
||||||
try {
|
// try {
|
||||||
qlOrdersService.flowQlht(invoicingOrdersEntity);
|
qlOrdersService.flowQlht(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领回退失败:"+e.getMessage());
|
// return Result.error("请领回退失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("请领回退流程编码错误");
|
// return Result.error("请领回退流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -206,17 +206,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlzf(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlzf(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("qlzf")){
|
// if(code!=null&&!code.equals("")&&code.equals("qlzf")){
|
||||||
try {
|
// try {
|
||||||
qlOrdersService.flowQlzf(invoicingOrdersEntity);
|
qlOrdersService.flowQlzf(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领作废失败:"+e.getMessage());
|
// return Result.error("请领作废失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("请领作废流程编码错误");
|
// return Result.error("请领作废流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -226,17 +226,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowQlhtzf(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowQlhtzf(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("qlhtzf")){
|
// if(code!=null&&!code.equals("")&&code.equals("qlhtzf")){
|
||||||
try{
|
// try{
|
||||||
qlOrdersService.flowQlhtzf(invoicingOrdersEntity);
|
qlOrdersService.flowQlhtzf(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error("请领回退作废失败:"+e.getMessage());
|
// return Result.error("请领回退作废失败:"+e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("请领回退作废流程编码错误");
|
// return Result.error("请领回退作废流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -246,17 +246,17 @@ public class InvoicingOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMappe
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result<String> flowDythDysq(InvoicingOrdersEntity invoicingOrdersEntity) {
|
public Result<String> flowDythDysq(InvoicingOrdersEntity invoicingOrdersEntity) {
|
||||||
String code = invoicingOrdersEntity.getFlowCode();
|
// String code = invoicingOrdersEntity.getFlowCode();
|
||||||
if(code!=null&&!code.equals("")&&code.equals("dyth_dysq")){
|
// if(code!=null&&!code.equals("")&&code.equals("dyth_dysq")){
|
||||||
try{
|
// try{
|
||||||
thOrdersService.flowDythDysq(invoicingOrdersEntity);
|
thOrdersService.flowDythDysq(invoicingOrdersEntity);
|
||||||
}catch (Exception e){
|
// }catch (Exception e){
|
||||||
return Result.error(e.getMessage());
|
// return Result.error(e.getMessage());
|
||||||
}
|
// }
|
||||||
}else {
|
// }else {
|
||||||
//返回错误信息
|
// //返回错误信息
|
||||||
return Result.error("单元退货申请流程编码错误");
|
// return Result.error("单元退货申请流程编码错误");
|
||||||
}
|
// }
|
||||||
return Result.ok();
|
return Result.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue