Commit 83c1b227 by wancheng

SC日志注解更新

parent e56e514c
...@@ -39,7 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase { ...@@ -39,7 +39,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "初始化") @OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "物料清单-附件清单A-初始化")
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
// 查询物料ID所对应的项目名称和部件名称 // 查询物料ID所对应的项目名称和部件名称
...@@ -78,7 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase { ...@@ -78,7 +78,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "查询") @OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "物料清单-附件清单A-查询")
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
try { try {
...@@ -95,7 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase { ...@@ -95,7 +95,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "新增",operDesc = "新增操作") @OperationLogAnnotation(operModul = "附件清单",operType = "新增",operDesc = "物料清单-附件清单A-新增操作")
@Override @Override
public EiInfo insert(EiInfo inInfo) { public EiInfo insert(EiInfo inInfo) {
try { try {
...@@ -119,7 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase { ...@@ -119,7 +119,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "删除",operDesc = "删除操作") @OperationLogAnnotation(operModul = "附件清单",operType = "删除",operDesc = "物料清单-附件清单A-删除操作")
public EiInfo delete(EiInfo inInfo) { public EiInfo delete(EiInfo inInfo) {
try { try {
List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows(); List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
......
...@@ -28,7 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase { ...@@ -28,7 +28,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "初始化") @OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "物料清单-附件清单B-初始化")
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
// 查询物料ID所对应的项目名称和部件名称 // 查询物料ID所对应的项目名称和部件名称
...@@ -53,7 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase { ...@@ -53,7 +53,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "查询") @OperationLogAnnotation(operModul = "附件清单",operType = "查询",operDesc = "物料清单-附件清单B-查询")
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
try { try {
...@@ -70,7 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase { ...@@ -70,7 +70,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "新增",operDesc = "新增") @OperationLogAnnotation(operModul = "附件清单",operType = "新增",operDesc = "物料清单-附件清单B-新增")
@Override @Override
public EiInfo insert(EiInfo inInfo) { public EiInfo insert(EiInfo inInfo) {
try { try {
...@@ -94,7 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase { ...@@ -94,7 +94,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "附件清单",operType = "删除",operDesc = "删除") @OperationLogAnnotation(operModul = "附件清单",operType = "删除",operDesc = "物料清单-附件清单B-删除")
public EiInfo delete(EiInfo inInfo) { public EiInfo delete(EiInfo inInfo) {
try { try {
List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows(); List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
......
...@@ -42,7 +42,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -42,7 +42,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "初始化") @OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "生产订单-拆单派工A-初始化")
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo); Map queryMap = EiInfoUtils.getFirstRow(inInfo);
...@@ -63,7 +63,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -63,7 +63,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "查询") @OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "生产订单-拆单派工A-查询")
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
try { try {
...@@ -80,7 +80,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -80,7 +80,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "新增操作") @OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "生产订单-拆单派工A-新增操作")
public EiInfo save(EiInfo inInfo) { public EiInfo save(EiInfo inInfo) {
try { try {
Map detailMap = EiInfoUtils.getFirstRow(inInfo, CommonConstant.Field.DETAIL); Map detailMap = EiInfoUtils.getFirstRow(inInfo, CommonConstant.Field.DETAIL);
...@@ -123,7 +123,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -123,7 +123,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param dbSc005 * @param dbSc005
* @param fSc005a * @param fSc005a
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "新增") @OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "生产订单-拆单派工A-新增")
private void add(HPSC005 dbSc005, HPSC005A fSc005a) { private void add(HPSC005 dbSc005, HPSC005A fSc005a) {
String prodOrderNo = dbSc005.getProdOrderNo(); String prodOrderNo = dbSc005.getProdOrderNo();
// 数据校验 // 数据校验
...@@ -148,7 +148,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -148,7 +148,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param fSc005a * @param fSc005a
* @param mapSc005a * @param mapSc005a
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "修改",operDesc = "修改数据") @OperationLogAnnotation(operModul = "拆单派工",operType = "修改",operDesc = "生产订单-拆单派工A-修改数据")
private void modify(HPSC005 dbSc005, HPSC005A fSc005a, Map<String, HPSC005A> mapSc005a) { private void modify(HPSC005 dbSc005, HPSC005A fSc005a, Map<String, HPSC005A> mapSc005a) {
String prodOrderNo = dbSc005.getProdOrderNo(); String prodOrderNo = dbSc005.getProdOrderNo();
// 数据校验 // 数据校验
...@@ -170,7 +170,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -170,7 +170,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "删除",operDesc = "删除操作") @OperationLogAnnotation(operModul = "拆单派工",operType = "删除",operDesc = "生产订单-拆单派工A-删除操作")
public EiInfo delete(EiInfo inInfo) { public EiInfo delete(EiInfo inInfo) {
try { try {
Map detailMap = EiInfoUtils.getFirstRow(inInfo, CommonConstant.Field.DETAIL); Map detailMap = EiInfoUtils.getFirstRow(inInfo, CommonConstant.Field.DETAIL);
...@@ -204,7 +204,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -204,7 +204,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "刷新",operDesc = "刷新主订单信息") @OperationLogAnnotation(operModul = "拆单派工",operType = "刷新",operDesc = "生产订单-拆单派工A-刷新主订单信息")
private EiInfo refreshOrderInfo(EiInfo inInfo, String prodOrderNo) { private EiInfo refreshOrderInfo(EiInfo inInfo, String prodOrderNo) {
HPSC005 dbSc005 = HPSCTools.HpSc005.get(prodOrderNo); HPSC005 dbSc005 = HPSCTools.HpSc005.get(prodOrderNo);
inInfo.addBlock(CommonConstant.Field.DETAIL).addRow(dbSc005); inInfo.addBlock(CommonConstant.Field.DETAIL).addRow(dbSc005);
...@@ -217,7 +217,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -217,7 +217,7 @@ public class ServiceHPSC005A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "分派") @OperationLogAnnotation(operModul = "拆单派工",operType = "新增",operDesc = "生产订单-拆单派工A-分派")
public EiInfo assign(EiInfo inInfo) { public EiInfo assign(EiInfo inInfo) {
try { try {
List<String> orderIds = (List<String>) inInfo.get("ids"); List<String> orderIds = (List<String>) inInfo.get("ids");
...@@ -266,7 +266,7 @@ public class ServiceHPSC005A extends ServiceBase { ...@@ -266,7 +266,7 @@ public class ServiceHPSC005A extends ServiceBase {
* *
* @param fSc005a * @param fSc005a
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "设置",operDesc = "设置基础信息") @OperationLogAnnotation(operModul = "拆单派工",operType = "设置",operDesc = "生产订单-拆单派工A-设置基础信息")
private void setBaseInfo(HPSC005A fSc005a) { private void setBaseInfo(HPSC005A fSc005a) {
// 厂区名称 // 厂区名称
fSc005a.setFactoryName(HPPZTools.HpPz011.getFactoryName(fSc005a.getFactoryCode())); fSc005a.setFactoryName(HPPZTools.HpPz011.getFactoryName(fSc005a.getFactoryCode()));
......
...@@ -36,7 +36,7 @@ public class ServiceHPSC005C extends ServiceBase { ...@@ -36,7 +36,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "初始化") @OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "生产订单-拆单派工C-初始化")
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo); Map queryMap = EiInfoUtils.getFirstRow(inInfo);
...@@ -57,7 +57,7 @@ public class ServiceHPSC005C extends ServiceBase { ...@@ -57,7 +57,7 @@ public class ServiceHPSC005C extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "查询") @OperationLogAnnotation(operModul = "拆单派工",operType = "查询",operDesc = "生产订单-拆单派工C-查询")
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
try { try {
......
package com.baosight.hpjx.hp.sc.service; package com.baosight.hpjx.hp.sc.service;
import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import com.baosight.hpjx.hp.sc.domain.HPSC005A; import com.baosight.hpjx.hp.sc.domain.HPSC005A;
import com.baosight.hpjx.hp.sc.domain.HPSC005B; import com.baosight.hpjx.hp.sc.domain.HPSC005B;
import com.baosight.hpjx.hp.sc.tools.HPSCTools; import com.baosight.hpjx.hp.sc.tools.HPSCTools;
...@@ -25,6 +26,7 @@ public class ServiceHPSC005D extends ServiceBase { ...@@ -25,6 +26,7 @@ public class ServiceHPSC005D extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "生产任务详情",operType = "查询",operDesc = "初始化")
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo); Map queryMap = EiInfoUtils.getFirstRow(inInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment