| | |
| | | import com.hx.mybatis.aes.springbean.ConstantBean; |
| | | import com.hx.mybatisTool.SqlSentence; |
| | | import com.hx.phiappt.common.OperationReasonConstants; |
| | | import com.hx.phiappt.common.merge.MergeUserConstants; |
| | | import com.hx.phiappt.dto.MerUserFileDto; |
| | | import com.hx.phiappt.model.*; |
| | | import com.hx.phiappt.model.aliyun.call.AliyunSecretCallRecord; |
| | |
| | | public class UserMergeLogServiceImpl implements UserMergeLogService { |
| | | private Logger logger = LoggerFactory.getLogger(UserMergeLogServiceImpl.class); |
| | | |
| | | @Resource |
| | | private UserMergeLogMapper userMergeLogMapper; |
| | | @Resource |
| | | private UserMapper userMapper; |
| | | @Resource |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_INTERESTS); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_INTERESTS); |
| | | dUserLog.setTableName("user_interests"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_CONTACT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_CONTACT); |
| | | dUserLog.setTableName("user_contact_information"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_ADDRESS); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_ADDRESS); |
| | | dUserLog.setTableName("user_address_book"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_LABEL); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_LABEL); |
| | | dUserLog.setTableName("user_general_label"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | bUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bUserLog.setSortNum(0); |
| | | |
| | | bUserLog.setType(UserMergeLogItem.TYPE_RESERVE); |
| | | bUserLog.setType(MergeUserConstants.TYPE_RESERVE); |
| | | bUserLog.setTableName("user_money"); |
| | | bUserLog.setFieldId("storedValueFund"); |
| | | bUserLog.setFieldName("储值金"); |
| | |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dUserLog.setSortNum(1); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_RESERVE); |
| | | dUserLog.setType(MergeUserConstants.TYPE_RESERVE); |
| | | dUserLog.setTableName("user_money"); |
| | | dUserLog.setFieldId("storedValueFund"); |
| | | dUserLog.setFieldName("储值金"); |
| | |
| | | bFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bFreezeUserLog.setSortNum(0); |
| | | |
| | | bFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_RESERVE); |
| | | bFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_RESERVE); |
| | | bFreezeUserLog.setTableName("user_money"); |
| | | bFreezeUserLog.setFieldId("freezeStoredValueFund"); |
| | | bFreezeUserLog.setFieldName("冻结储值金"); |
| | |
| | | dFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dFreezeUserLog.setSortNum(1); |
| | | |
| | | dFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_RESERVE); |
| | | dFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_RESERVE); |
| | | dFreezeUserLog.setTableName("user_money"); |
| | | dFreezeUserLog.setFieldId("freezeStoredValueFund"); |
| | | dFreezeUserLog.setFieldName("冻结储值金"); |
| | |
| | | bUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bUserLog.setSortNum(0); |
| | | |
| | | bUserLog.setType(UserMergeLogItem.TYPE_INCREMENT); |
| | | bUserLog.setType(MergeUserConstants.TYPE_INCREMENT); |
| | | bUserLog.setTableName("user_money"); |
| | | bUserLog.setFieldId("valueAddedFund"); |
| | | bUserLog.setFieldName("增值金"); |
| | |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dUserLog.setSortNum(1); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INCREMENT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INCREMENT); |
| | | dUserLog.setTableName("user_money"); |
| | | dUserLog.setFieldId("valueAddedFund"); |
| | | dUserLog.setFieldName("增值金"); |
| | |
| | | bFreezeUserLog.setRepealUserId(userMergeLog.getRepealUserId()); |
| | | |
| | | bFreezeUserLog.setIsHaveOther(1); |
| | | bFreezeUserLog.setOpManType(UserMergeLogItem.TYPE_USER); |
| | | bFreezeUserLog.setOpManType(0); |
| | | bFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bFreezeUserLog.setSortNum(0); |
| | | |
| | | bFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_INCREMENT); |
| | | bFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_INCREMENT); |
| | | bFreezeUserLog.setTableName("user_money"); |
| | | bFreezeUserLog.setFieldId("freezeValueAddedFund"); |
| | | bFreezeUserLog.setFieldName("冻结增值金"); |
| | |
| | | dFreezeUserLog.setIsHaveOther(0); |
| | | dFreezeUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_INCREMENT); |
| | | dFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_INCREMENT); |
| | | dFreezeUserLog.setSortNum(1); |
| | | |
| | | dFreezeUserLog.setTableName("user_money"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INCREMENT_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INCREMENT_LOG); |
| | | dUserLog.setTableName("user_value_added_fund_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INCREMENT_USE_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INCREMENT_USE_LOG); |
| | | dUserLog.setTableName("user_value_added_fund_use_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | bUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bUserLog.setSortNum(0); |
| | | |
| | | bUserLog.setType(UserMergeLogItem.TYPE_INTEGRAL); |
| | | bUserLog.setType(MergeUserConstants.TYPE_INTEGRAL); |
| | | bUserLog.setTableName("user_money"); |
| | | bUserLog.setFieldId("integral"); |
| | | bUserLog.setFieldName("积分"); |
| | |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dUserLog.setSortNum(1); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INTEGRAL); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INTEGRAL); |
| | | dUserLog.setTableName("user_money"); |
| | | dUserLog.setFieldId("integral"); |
| | | dUserLog.setFieldName("积分"); |
| | |
| | | bFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | bFreezeUserLog.setSortNum(0); |
| | | |
| | | bFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_INTEGRAL); |
| | | bFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_INTEGRAL); |
| | | bFreezeUserLog.setTableName("user_money"); |
| | | bFreezeUserLog.setFieldId("freezeIntegral"); |
| | | bFreezeUserLog.setFieldName("冻结积分"); |
| | |
| | | dFreezeUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | dFreezeUserLog.setSortNum(1); |
| | | |
| | | dFreezeUserLog.setType(UserMergeLogItem.TYPE_FREEZE_INTEGRAL); |
| | | dFreezeUserLog.setType(MergeUserConstants.TYPE_FREEZE_INTEGRAL); |
| | | dFreezeUserLog.setTableName("user_money"); |
| | | dFreezeUserLog.setFieldId("freezeIntegral"); |
| | | dFreezeUserLog.setFieldName("冻结积分"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INTEGRAL_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INTEGRAL_LOG); |
| | | dUserLog.setTableName("user_integral_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INTEGRAL_USE_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INTEGRAL_USE_LOG); |
| | | dUserLog.setTableName("user_integral_use_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_INTEGRAL_DEL_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_INTEGRAL_DEL_LOG); |
| | | dUserLog.setTableName("user_clear_integral_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_MONEY_TURN_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_MONEY_TURN_LOG); |
| | | dUserLog.setBeforeValue(delUser.getId()); |
| | | dUserLog.setAfterValue(user.getId()); |
| | | dUserLog.setTableName("user_money_transfer"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_WAIT_MONEY); |
| | | dUserLog.setType(MergeUserConstants.TYPE_WAIT_MONEY); |
| | | dUserLog.setTableName("user_money_unclaimed"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_MONEY_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_MONEY_LOG); |
| | | dUserLog.setTableName("user_money_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_PROJECT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_PROJECT); |
| | | dUserLog.setTableName("user_project"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_PROJECT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_PROJECT); |
| | | dUserLog.setTableName("user_project_item"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_PROJECT_USE); |
| | | dUserLog.setType(MergeUserConstants.TYPE_PROJECT_USE); |
| | | dUserLog.setTableName("user_project_used"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_PROJECT_EMP_OP); |
| | | dUserLog.setType(MergeUserConstants.TYPE_PROJECT_EMP_OP); |
| | | dUserLog.setTableName("user_project_direct_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_APPOINT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_APPOINT); |
| | | dUserLog.setTableName("appointment"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | // dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | // dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | // |
| | | // dUserLog.setType(UserMergeLogItem.TYPE_APPOINT_REMARK); |
| | | // dUserLog.setType(MergeUserConstants.TYPE_APPOINT_REMARK); |
| | | // dUserLog.setTableName("user_appointment_remark"); |
| | | // dUserLog.setFieldId("userId"); |
| | | // dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_APPOINT_SPA); |
| | | dUserLog.setType(MergeUserConstants.TYPE_APPOINT_SPA); |
| | | dUserLog.setTableName("pre_order"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ARRIVE_RECORD); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ARRIVE_RECORD); |
| | | dUserLog.setTableName("v_visit_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ARRIVE_ORDER); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ARRIVE_ORDER); |
| | | dUserLog.setTableName("v_visit_order"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ARRIVE_RECENTLY); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ARRIVE_RECENTLY); |
| | | dUserLog.setTableName("v_lately_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_needed_project"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_focus_activity"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_potential_project"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_recommended_project"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONSULT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONSULT); |
| | | dUserLog.setTableName("consultation_treat_project"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_GUIDE); |
| | | dUserLog.setType(MergeUserConstants.TYPE_GUIDE); |
| | | dUserLog.setTableName("v_guide_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_DEDUCTION); |
| | | dUserLog.setType(MergeUserConstants.TYPE_DEDUCTION); |
| | | dUserLog.setTableName("deduction_single"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_DEDUCTION); |
| | | dUserLog.setType(MergeUserConstants.TYPE_DEDUCTION); |
| | | dUserLog.setTableName("deduction_give_fund_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_TURN); |
| | | dUserLog.setType(MergeUserConstants.TYPE_TURN); |
| | | dUserLog.setBeforeValue(delUser.getId()); |
| | | dUserLog.setAfterValue(user.getId()); |
| | | dUserLog.setTableName("turn_add"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_TURN); |
| | | dUserLog.setType(MergeUserConstants.TYPE_TURN); |
| | | dUserLog.setTableName("user_project_turn"); |
| | | |
| | | dUserLog.setBeforeValue(delUser.getId()); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_RETURN_VISIT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_RETURN_VISIT); |
| | | dUserLog.setTableName("return_visit_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_MEDICAL); |
| | | dUserLog.setType(MergeUserConstants.TYPE_MEDICAL); |
| | | dUserLog.setTableName("medical_records"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_PRESCRIPTION); |
| | | dUserLog.setType(MergeUserConstants.TYPE_PRESCRIPTION); |
| | | dUserLog.setTableName("prescription"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CONTRAST); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CONTRAST); |
| | | dUserLog.setTableName("compare_photo_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_APPEARANCE_PLAN); |
| | | dUserLog.setType(MergeUserConstants.TYPE_APPEARANCE_PLAN); |
| | | dUserLog.setTableName("appearance_total"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_MEI_JI); |
| | | dUserLog.setType(MergeUserConstants.TYPE_MEI_JI); |
| | | dUserLog.setTableName("mj_skin_report"); |
| | | dUserLog.setFieldId("customerId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_TEL_MSG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_TEL_MSG); |
| | | dUserLog.setTableName("aliyun_secret_call_Record"); |
| | | dUserLog.setFieldId("phoneNo"); |
| | | dUserLog.setFieldName("用户手机号"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_COMPLAINT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_COMPLAINT); |
| | | dUserLog.setTableName("record_complaint"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_COMPLAINT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_COMPLAINT); |
| | | dUserLog.setTableName("handler_complaint"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_EVALUATION); |
| | | dUserLog.setType(MergeUserConstants.TYPE_EVALUATION); |
| | | dUserLog.setTableName("questionnaire"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_CARD); |
| | | dUserLog.setType(MergeUserConstants.TYPE_CARD); |
| | | dUserLog.setTableName("user_card"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_COUPON); |
| | | dUserLog.setType(MergeUserConstants.TYPE_COUPON); |
| | | dUserLog.setTableName("coupon_number"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_COUPON); |
| | | dUserLog.setType(MergeUserConstants.TYPE_COUPON); |
| | | dUserLog.setTableName("coupon_release_record_item"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_STATISTICS); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_STATISTICS); |
| | | dUserLog.setTableName("user_statistics"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_RELEASE); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_RELEASE); |
| | | dUserLog.setTableName("user_release_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_ROOM); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_ROOM); |
| | | dUserLog.setTableName("user_families_room"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_ADVISER_GROUP); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_ADVISER_GROUP); |
| | | dUserLog.setTableName("user_corp_user_team"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_TRANSFER_RECORD); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_TRANSFER_RECORD); |
| | | dUserLog.setTableName("transfer_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_GZH); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_GZH); |
| | | dUserLog.setTableName("gzh_msg"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_BIRTHDAY_GIFT); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_BIRTHDAY_GIFT); |
| | | dUserLog.setTableName("user_birthday_gift_log"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_SKIN_LOG); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_SKIN_LOG); |
| | | dUserLog.setTableName("skin_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_REWARD); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_REWARD); |
| | | dUserLog.setTableName("reward_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_SEND_RECORD); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_SEND_RECORD); |
| | | dUserLog.setTableName("sending_records"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_PERFORMANCE); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_PERFORMANCE); |
| | | dUserLog.setTableName("performance_info"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | uLog.setIsHaveOther(0); |
| | | uLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | uLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | uLog.setType(UserMergeLogItem.TYPE_USER_EXTERNAL); |
| | | uLog.setType(MergeUserConstants.TYPE_USER_EXTERNAL); |
| | | uLog.setTableName("medical_archives_file"); |
| | | uLog.setFieldName("多个字段"); |
| | | logger.info("封装的医疗档案Map"+JSON.toJSONString(typeIdMap)); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_USER_EXTERNAL); |
| | | dUserLog.setType(MergeUserConstants.TYPE_USER_EXTERNAL); |
| | | dUserLog.setTableName("medical_documents_user"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_MEDICAL_ARCHIVES); |
| | | dUserLog.setType(MergeUserConstants.TYPE_MEDICAL_ARCHIVES); |
| | | dUserLog.setTableName("consultant_cash_report"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER); |
| | | dUserLog.setTableName("orders_total"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER); |
| | | dUserLog.setTableName("koap_order_total"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER); |
| | | dUserLog.setTableName("orders_snapshot"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER); |
| | | dUserLog.setTableName("record_consume"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER_REFUND); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER_REFUND); |
| | | dUserLog.setTableName("refund_note"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER_REFUND); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER_REFUND); |
| | | dUserLog.setTableName("refund_record"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | dUserLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | dUserLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | |
| | | dUserLog.setType(UserMergeLogItem.TYPE_ORDER_REFUND); |
| | | dUserLog.setType(MergeUserConstants.TYPE_ORDER_REFUND); |
| | | dUserLog.setTableName("refund_record_coupon"); |
| | | dUserLog.setFieldId("userId"); |
| | | dUserLog.setFieldName("用户标识"); |
| | |
| | | uLog.setIsHaveOther(0); |
| | | uLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_USER); |
| | | uLog.setOpType(UserMergeLogItem.OP_TYPE_UPDATE); |
| | | uLog.setType(UserMergeLogItem.TYPE_CONSUMPTION); |
| | | uLog.setType(MergeUserConstants.TYPE_CONSUMPTION); |
| | | uLog.setTableName("user"); |
| | | uLog.setFieldName("多个字段"); |
| | | |
| | |
| | | |
| | | delLog.setIsHaveOther(0); |
| | | delLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_DEL); |
| | | delLog.setType(UserMergeLogItem.TYPE_USER); |
| | | delLog.setType(MergeUserConstants.TYPE_USER); |
| | | delLog.setOpType(UserMergeLogItem.OP_TYPE_DEL); |
| | | delLog.setTableName("user"); |
| | | delLog.setFieldId("isDel"); |
| | |
| | | |
| | | userLog.setIsHaveOther(0); |
| | | userLog.setOpManType(UserMergeLogItem.OP_MAN_TYPE_USER); |
| | | userLog.setType(UserMergeLogItem.TYPE_USER); |
| | | userLog.setType(MergeUserConstants.TYPE_USER); |
| | | userLog.setOpType(UserMergeLogItem.OP_TYPE_NONE); |
| | | userLog.setStatus(1); |
| | | userLog.setOpContent(JSON.toJSONString(user)); |